diff --git a/Documentation/Books/AQL/Operations/Replace.md b/Documentation/Books/AQL/Operations/Replace.md index 3c46f12a36..71c62f5a50 100644 --- a/Documentation/Books/AQL/Operations/Replace.md +++ b/Documentation/Books/AQL/Operations/Replace.md @@ -125,6 +125,7 @@ returned: ``` FOR u IN users REPLACE u WITH { value: "test" } + IN users LET previous = OLD RETURN previous._key ``` @@ -134,7 +135,7 @@ documents (without some of their system attributes): ``` FOR u IN users - REPLACE u WITH { value: "test" } + REPLACE u WITH { value: "test" } IN users LET replaced = NEW RETURN UNSET(replaced, '_key', '_id', '_rev') ```