From 3e98ecd9e13e8489bd296058dbc79e1322563c1d Mon Sep 17 00:00:00 2001 From: Ziyaddin Sadigov Date: Mon, 6 Jul 2020 00:39:38 +0400 Subject: [PATCH] docs: fix typo in database usage (#3880) --- docs/database/usage/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/database/usage/index.md b/docs/database/usage/index.md index ed2b6438..eb7cfe55 100644 --- a/docs/database/usage/index.md +++ b/docs/database/usage/index.md @@ -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: