withQueryOrder

abstract fun withQueryOrder(order: Any): SyncMap.QueryOptions

Specifies the ordering (i.e. direction) of the query. If no starting position is provided, ascending will execute the query from beginning and descending will execute the query from the end.

Return

This object for optional method chaining.

Parameters

order

The ordering of the query.