1
0
Fork 0

fix REPLACE syntax, the collection was missing. (#4703)

This commit is contained in:
Wilfried Goesgens 2018-02-28 13:29:42 +01:00 committed by Jan
parent 345fc3c0b7
commit a3e46710e7
1 changed files with 2 additions and 1 deletions

View File

@ -127,6 +127,7 @@ returned:
```
FOR u IN users
REPLACE u WITH { value: "test" }
IN users
LET previous = OLD
RETURN previous._key
```
@ -136,7 +137,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')
```