Skip to content

Commit 404aa3d

Browse files
Jeff Shamleydavideast
authored andcommitted
docs(querying lists): update text and clean up formatting
1 parent f99bc62 commit 404aa3d

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/4-querying-lists.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,15 @@ const queryObservable = af.database.list('/items', {
2121

2222
| method | purpose |
2323
| ---------|--------------------|
24-
| orderByChild | specify a child to order by |
25-
| orderByKey | boolean to order by Firebase keys |
26-
| orderByPriority | boolean to order by Firebase priority |
27-
| orderByValue | specify a value to order by |
28-
| equalTo | limit list to items that contain certain value |
29-
| limitToFirst | limit response to x items starting at the beginning |
30-
| limitToLast | limit response to x items starting at the end |
31-
| startAt | key of item to start at |
32-
| endAt | key of item to end at |
33-
| shallow | boolean to only return item keys |
24+
| `orderByChild` | Specify a child to order by. |
25+
| `orderByKey` | Boolean to order by Firebase Database keys. |
26+
| `orderByPriority` | Boolean to order by Firebase Database priority. |
27+
| `orderByValue` | Specify a value to order by. |
28+
| `equalTo` | Limit list to items that contain certain value. |
29+
| `limitToFirst` | Sets the maximum number of items to return from the beginning of the ordered list of results. |
30+
| `limitToLast` | Sets the maximum number of items to return from the end of the ordered list of results. |
31+
| `startAt` | Return items greater than or equal to the specified key or value, depending on the order-by method chosen. |
32+
| `endAt` | Return items less than or equal to the specified key or value, depending on the order-by method chosen. |
3433

3534
## Invalid query combinations
3635

0 commit comments

Comments
 (0)