google_api_firestore v0.0.1 GoogleApi.Firestore.V1beta1.Model.StructuredQuery View Source

A Firestore query.

Attributes

  • endAt (Cursor): A end point for the query results. Defaults to: null.
  • from ([CollectionSelector]): The collections to query. Defaults to: null.
  • limit (integer()): The maximum number of results to return. Applies after all other constraints. Must be >= 0 if specified. Defaults to: null.
  • offset (integer()): The number of results to skip. Applies before limit, but after all other constraints. Must be >= 0 if specified. Defaults to: null.
  • orderBy ([Order]): The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. If an order on `name` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: `SELECT FROM Foo ORDER BY A` becomes `SELECT FROM Foo ORDER BY A, name` `SELECT FROM Foo ORDER BY A DESC` becomes `SELECT FROM Foo ORDER BY A DESC, name DESC` `SELECT FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, name` Defaults to: null.
  • select (Projection): The projection to return. Defaults to: null.
  • startAt (Cursor): A starting point for the query results. Defaults to: null.
  • where (Filter): The filter to apply. Defaults to: null.