Fix list formats to play well with wiki markdown macro.
This commit is contained in:
parent
0733d932d8
commit
fbf61e7672
33
docs/rest.md
33
docs/rest.md
|
@ -183,25 +183,28 @@ values, as described in the following table.
|
||||||
|fields| Object, Array, or String | The included/excluded fields. For foramt, see fields below.
|
|fields| Object, Array, or String | The included/excluded fields. For foramt, see fields below.
|
||||||
|
|
||||||
**Operations available in where filter**:
|
**Operations available in where filter**:
|
||||||
- gt: >
|
|
||||||
- gte: >=
|
* gt: >
|
||||||
- lt: <
|
* gte: >=
|
||||||
- lte: <=
|
* lt: <
|
||||||
- between
|
* lte: <=
|
||||||
- inq: IN
|
* between
|
||||||
- nin: NOT IN
|
* inq: IN
|
||||||
- neq: !=
|
* nin: NOT IN
|
||||||
- like: LIKE
|
* neq: !=
|
||||||
- nlike: NOT LIKE
|
* like: LIKE
|
||||||
|
* nlike: NOT LIKE
|
||||||
|
|
||||||
**Include format**:
|
**Include format**:
|
||||||
- 'posts': Load posts
|
|
||||||
- ['posts', 'passports']: Load posts and passports
|
* 'posts': Load posts
|
||||||
- {'owner': 'posts'}: Load owner and owner's posts
|
* ['posts', 'passports']: Load posts and passports
|
||||||
- {'owner': ['posts', 'passports']}: Load owner, owner's posts, and owner's passports
|
* {'owner': 'posts'}: Load owner and owner's posts
|
||||||
- {'owner': [{posts: 'images'}, 'passports']}: Load owner, owner's posts, owner's posts' images, and owner's passports
|
* {'owner': ['posts', 'passports']}: Load owner, owner's posts, and owner's passports
|
||||||
|
* {'owner': [{posts: 'images'}, 'passports']}: Load owner, owner's posts, owner's posts' images, and owner's passports
|
||||||
|
|
||||||
**Fields format**:
|
**Fields format**:
|
||||||
|
|
||||||
- `['foo']` or `'foo'` - include only the foo property
|
- `['foo']` or `'foo'` - include only the foo property
|
||||||
- `['foo', 'bar']` - include the foo and bar properties
|
- `['foo', 'bar']` - include the foo and bar properties
|
||||||
- `{foo: true}` - include only foo
|
- `{foo: true}` - include only foo
|
||||||
|
|
Loading…
Reference in New Issue