voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
14 lines (8 loc) • 483 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [/](./firestore_.md) > [OrderByDirection](./firestore_.orderbydirection.md)
## OrderByDirection type
The direction of a [orderBy()](./firestore_.orderby.md) clause is specified as 'desc' or 'asc' (descending or ascending).
<b>Signature:</b>
```typescript
export declare type OrderByDirection = 'desc' | 'asc';
```