From fcd130086b8b09f56e5d75ef66948fd4e0052ced Mon Sep 17 00:00:00 2001 From: Dave MacLeod <56599343+Dhghomon@users.noreply.github.com> Date: Fri, 3 Jan 2025 09:57:05 +0900 Subject: [PATCH] Fix an incomplete sentence --- src/content/doc-surrealql/statements/delete.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/doc-surrealql/statements/delete.mdx b/src/content/doc-surrealql/statements/delete.mdx index 25fa1e50b..f11918e00 100644 --- a/src/content/doc-surrealql/statements/delete.mdx +++ b/src/content/doc-surrealql/statements/delete.mdx @@ -173,7 +173,7 @@ DELETE person:tobie->bought WHERE out=product:iphone; While soft deletions do not exist natively in SurrealDB, they can be simulated by [defining an event](/docs/surrealql/statements/define/event) that reacts whenever a deletion occurs. -The following example archives the data of a deleted record in another table so that it is +The following example archives the data of a deleted record in another table. This can be combined with [fewer permissions for the new table](/docs/surrealql/statements/define/table#defining-permissions) so that it can be accessed only by [system users](/docs/surrealql/statements/define/user) and not [record users](/docs/surrealql/statements/define/access/record). ```surql DEFINE EVENT archive_person ON TABLE person WHEN $event = "DELETE" THEN {