mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
docs: fix typo in database usage (#3880)
This commit is contained in:
@@ -154,7 +154,7 @@ If your application requires more advanced query capabilities, it is recommended
|
||||
#### Ordering
|
||||
|
||||
By default, results are ordered based on the node [keys](#database-keys). If however you are using custom keys you can use
|
||||
one of the `orederByX` methods to order your data.
|
||||
one of the `orderByX` methods to order your data.
|
||||
|
||||
For example, if all of the nodes children are scalar values (string, number or boolean) you can use the `orderByValue` method,
|
||||
and Firebase will automatically order the results. The example below would return the `def` node before the `abc` node:
|
||||
|
||||
Reference in New Issue
Block a user