Update README
This commit is contained in:
parent
d533eaff98
commit
5300f932d5
@ -52,9 +52,14 @@ The main action is `GRAB`, this will parse files and return data.
|
|||||||
GRAB User {name = 'Bob' AND (age > 30 OR age < 10)}
|
GRAB User {name = 'Bob' AND (age > 30 OR age < 10)}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Can use [] before the filter to tell what to return.
|
||||||
|
```js
|
||||||
|
GRAB User [id, email] {name = 'Bob' AND (age > 30 OR age < 10)}
|
||||||
|
```
|
||||||
|
|
||||||
Here a preview to how to use relationship.
|
Here a preview to how to use relationship.
|
||||||
```js
|
```js
|
||||||
GRAB User {best_friend = {name = 'Bob'}}
|
GRAB User {best_friend IN {name = 'Bob'}}
|
||||||
```
|
```
|
||||||
|
|
||||||
GRAB queries return a list of JSON objects with the data inside, e.g:
|
GRAB queries return a list of JSON objects with the data inside, e.g:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user