Creates an order by query block that orders the documents by a property
The ordering document field
The direction of the order, ascending or descending
ReadonlydirectionThe direction of the order, ascending or descending
ReadonlyfieldThe ordering document field
Check whether or not this block as a following block
ProtectedleafGets a reference to the block at the end of the chain
A reference to the next query block or null if this block is the last
Sets the reference to the next query block
The soon to be next query block
A reference to the previous query block if this block is the first
Sets the reference to the previous query block
The soon to be previous query block
ProtectedrootGets a reference to the block at the start of the chain
Appends a limit clause to the query
Amount of element to query at most
Starts from the start or the end of the query
The LimitBlock appended to the query
Appends an order by clause to the query
Field on which to apply the sorting
Direction of the sort
The OrderByBlock appended to the query
Protectedto
Order by query block that orders the documents by a property