Update README.md
This commit is contained in:
parent
8f1ce5462f
commit
e67b5afa0a
@ -118,7 +118,7 @@ DELETE User {name = 'Bob'}
|
|||||||
### UPDATE
|
### UPDATE
|
||||||
|
|
||||||
A mix of `GRAB` and `ADD`. It takes a filter first, then the new data.
|
A mix of `GRAB` and `ADD`. It takes a filter first, then the new data.
|
||||||
Here, we update the first 5 `User` entities named 'adrien' to capitalize the name and become 'Adrien':
|
Here, we update the first 5 `User` entities named 'bob' to capitalize the name and become 'Bob':
|
||||||
```js
|
```js
|
||||||
UPDATE User [5] {name='bob'} TO (name = 'Bob')
|
UPDATE User [5] {name='bob'} TO (name = 'Bob')
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user