From 1965b4faf4be8aa3ad5062308652593da99defcf Mon Sep 17 00:00:00 2001 From: Santo <31849787+sleto-it@users.noreply.github.com> Date: Tue, 30 Jul 2024 14:03:45 +0000 Subject: [PATCH] Mention the known issue on the `ONLY` clause in the `DELETE` page (#704) Co-authored-by: Obinna Ekwuno --- .../version-latest/surrealql/statements/delete.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc-surrealdb_versioned_docs/version-latest/surrealql/statements/delete.mdx b/doc-surrealdb_versioned_docs/version-latest/surrealql/statements/delete.mdx index afe493694..7d76b69b6 100644 --- a/doc-surrealdb_versioned_docs/version-latest/surrealql/statements/delete.mdx +++ b/doc-surrealdb_versioned_docs/version-latest/surrealql/statements/delete.mdx @@ -19,6 +19,9 @@ DELETE [ ONLY ] @targets [ PARALLEL ] ; ``` +:::note +_Note:_ Be aware of this [known issue](/docs/surrealdb/faqs/known-issues#delete-only-always-returns-an-error) when using the `ONLY` clause. +::: ## Example usage @@ -97,4 +100,4 @@ Can be deleted by: ```surql DELETE person:tobie->bought WHERE out=product:iphone; -``` \ No newline at end of file +```