From 58cd620ed989b56426ab01001429e3d1bcb410a3 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Mon, 1 Jan 2024 23:41:40 -0500 Subject: [PATCH] vault backup: 2024-01-01 23:41:40 --- Databases/SurrealDB/Syntax.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Databases/SurrealDB/Syntax.md b/Databases/SurrealDB/Syntax.md index 62a06ec..88b2b83 100644 --- a/Databases/SurrealDB/Syntax.md +++ b/Databases/SurrealDB/Syntax.md @@ -3,12 +3,12 @@ - [CREATE](https://docs.surrealdb.com/docs/surrealql/statements/select): Creates resources/records, similar to `INSERT INTO` in Postgres - [DEFINE](https://docs.surrealdb.com/docs/surrealql/statements/define/overview): Creates namespaces, databases, and logins - [UPDATE](https://docs.surrealdb.com/docs/surrealql/statements/update): Updates resources/records, similar to `UPDATE table_name SET ...` in Postgres -- DELETE: Deletes resources/records, similar to `DELETE` in Postgres -- `USE`: Used for switching in between namespaces and databases +- [DELETE](https://docs.surrealdb.com/docs/surrealql/statements/delete): Deletes resources/records, similar to `DELETE` in Postgres +- [USE](https://docs.surrealdb.com/docs/surrealql/statements/use/): Used for switching in between namespaces and databases - `SLEEP`: Used to make the database go to sleep - `BEGIN`: Used for making a group of SurrealQL statements a singular transaction. Transaction block must end with a `COMMIT` - `COMMIT`: Used for making a group of SurrealQL statements a singular transaction. Transaction block must start with a `BEGIN` -- `RELATE`: Used to traverse records efficiently without the need for SQL JOINs +- [RELATE](https://docs.surrealdb.com/docs/surrealql/statements/use/): Used to traverse records efficiently without the need for SQL JOINs ## Examples