From d12a6e5e824619a353a40c0ff10cc0fa83f3a54c Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Mon, 1 Jan 2024 23:17:40 -0500 Subject: [PATCH] vault backup: 2024-01-01 23:17:40 --- Databases/SurrealDB/Syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Databases/SurrealDB/Syntax.md b/Databases/SurrealDB/Syntax.md index b997baf..5e49621 100644 --- a/Databases/SurrealDB/Syntax.md +++ b/Databases/SurrealDB/Syntax.md @@ -6,8 +6,8 @@ - `DELETE`: Deletes resources/records, similar to `DELETE` in Postgres - `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. Must end with a `COMMIT` -- `COMMIT`: +- `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` ## Examples