Struct google_datastore1::Query[][src]

pub struct Query {
    pub start_cursor: Option<String>,
    pub kind: Option<Vec<KindExpression>>,
    pub projection: Option<Vec<Projection>>,
    pub distinct_on: Option<Vec<PropertyReference>>,
    pub filter: Option<Filter>,
    pub limit: Option<i32>,
    pub offset: Option<i32>,
    pub end_cursor: Option<String>,
    pub order: Option<Vec<PropertyOrder>>,
}

A query for entities.

This type is not used in any activity, and only used as part of another schema.

Fields

A starting point for the query results. Query cursors are returned in query result batches and can only be used to continue the same query.

The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.

The projection to return. Defaults to returning all properties.

The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned).

The filter to apply.

The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.

The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified.

An ending point for the query results. Query cursors are returned in query result batches and can only be used to limit the same query.

The order to apply to the query results (if empty, order is unspecified).

Trait Implementations

impl Default for Query
[src]

Returns the "default value" for a type. Read more

impl Clone for Query
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Query
[src]

Formats the value using the given formatter. Read more

impl Part for Query
[src]

Auto Trait Implementations

impl Send for Query

impl Sync for Query