Skip to main content

Module select_order_builder

Module select_order_builder 

Source
Expand description

Builds the per-field sort direction for a query or listing’s result ordering.

Reach for this via .order() on a select or listing builder, not directly. Builder for specifying the ordering of Firestore query and listing results.

This module provides a fluent API to define, per field, the direction results should be sorted in.

The main entry point is FirestoreQueryOrderBuilder, passed into the closure given to .order() on a select or listing builder.

Structs§

FirestoreQueryOrderBuilder
A builder for constructing a list of orderings to apply to a query or listing.
FirestoreQueryOrderFieldExpr
Represents a specific field targeted for an ordering.

Traits§

FirestoreQueryOrderExpr
A trait for types that can be converted into a FirestoreQueryOrder.