Skip to content

Commit

Permalink
Mention the known issue on the ONLY clause in the DELETE page (#704)
Browse files Browse the repository at this point in the history
Co-authored-by: Obinna Ekwuno <[email protected]>
  • Loading branch information
sleto-it and Ekwuno authored Jul 30, 2024
1 parent 99bd4f1 commit 1965b4f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -97,4 +100,4 @@ Can be deleted by:

```surql
DELETE person:tobie->bought WHERE out=product:iphone;
```
```

0 comments on commit 1965b4f

Please sign in to comment.