SurrealDB and Rust | UPDATE & RELATE | Rust Language
HTML-код
- Опубликовано: 10 сен 2024
- How to use update, relate, and how to drop a table using SurrealDB with Rust.
In this video I also show Rust code to create and remove tables, and show the SurrealDB Discord channel. Note these tables are "schemaless" - I'll progress to "schemafull" soon.
Check out Tobie explaing how everything in SurrealDB happens on write :
www.youtube.co...
🦀 SurrealDB Rust Playlist
• SurrealDB + Rust Examples
** New: I've created some slightly more ADVANCED queries and added them to my website, with these you will need to learn and understand "relate" but after a while it starts to feel a bit more intuitive.
take v first
-----------------
.take(0) returns an empty iterator.
.first() returns an Option containing the first element of the vector or None if the vector is empty.
More advanced SurrealDB queries
----------------------------------------------------------
🟩 redandgreen.co...
Previous Article:
---------------------------
🟩 redandgreen.co...
code : gist.github.co...
install SurrealDB
---------------------------
🟩 surrealdb.com/...
start the server
-------------------------
surreal start --log info --user root --pass root file:mydatabase.db
Demo Data
--------------------
🟩 surrealdb.com/...
Useful code example using fetch, with query prepared using format! macro:
-------------------------------------------------------------------------------------------------------------------------
🟩 github.com/sur...
Linux Hosting - VPS server - Webdock
----------------------------------------------------------------
🟩 Webdock Linux Hosting : webdock.io/en?...
See also - Rust Code Maven:
-------------------------------------------------
🟩 rust.code-mave...
Code used in this video:
🟩 gist.github.co...
Nostr
---------
@RngWeb
findthatbit@iris.to
findthatbit.info/
redandgreen.co...
#rustlang #SurrealDB #learningrust