DB Docs
API Reference
- Core API Reference
- Collection
- createCollection
- liveQueryCollectionOptions
- createLiveQueryCollection
- createOptimisticAction
- createTransaction
- Electric DB Collection
- electricCollectionOptions
- Query DB Collection
- queryCollectionOptions
- RxDB DB Collection
- rxdbCollectionOptions
- PowerSync Collection
- powerSyncCollectionOptions
- createIndexedDB
- indexedDBCollectionOptions
- React Hooks
- useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/convex-db-collection/type-aliases/ConvexQueryOrder.md
ConvexQueryOrder
ts
type ConvexQueryOrder<TRow> = object;Defined in: paginated-options.ts:22
Leading numeric order of the fixed server query. Trailing DB order terms are local: each acquisition establishes the complete leading-value tie.
Type Parameters#
TRow#
TRow
Properties#
direction#
ts
direction: "asc" | "desc";Defined in: paginated-options.ts:27
field#
ts
field: { [K in keyof TRow]-?: TRow[K] extends number ? K : never }[keyof TRow] & string;Defined in: paginated-options.ts:23