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 {