orderBy property

String orderBy
final

Optional. The optional ordering of the documents to return.

For example: priority desc, __name__ desc.

This mirrors the google.firestore.v1.StructuredQuery.order_by used in Firestore queries but in a string representation. When absent, documents are ordered based on __name__ ASC.

Implementation

final String orderBy;