UNPKG

voluptasmollitia

Version:
22 lines (12 loc) 707 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/database](./database.md) &gt; [orderByValue](./database.orderbyvalue.md) ## orderByValue() function Creates a new `QueryConstraint` that orders by value. If the children of a query are all scalar values (string, number, or boolean), you can order the results by their (ascending) values. You can read more about `orderByValue()` in [Sort data](https://firebase.google.com/docs/database/web/lists-of-data#sort_data)<!-- -->. <b>Signature:</b> ```typescript export declare function orderByValue(): QueryConstraint; ``` <b>Returns:</b> [QueryConstraint](./database.queryconstraint.md)