CursorQuery
data class CursorQuery(val filter: FilterExpression, val projection: Projection = Projection.ALL, val sort: List<Sort> = emptyList(), val size: Int = DEFAULT_SIZE, val cursor: String? = null) : ICursorQuery
Constructors
Link copied to clipboard
constructor(filter: FilterExpression, projection: Projection = Projection.ALL, sort: List<Sort> = emptyList(), size: Int = DEFAULT_SIZE, cursor: String? = null)
Properties
Link copied to clipboard
Link copied to clipboard
The projection settings that control which fields are included in or excluded from the query results.
Link copied to clipboard
The list of sort criteria to apply to the query results. Each sort criterion specifies a field and direction (ascending/descending). Sorts are applied in the order they appear in the list, at most Sort.MAX_FIELDS of them.