Struct google_datastore1_beta3::GqlQuery[][src]

pub struct GqlQuery {
    pub query_string: Option<String>,
    pub positional_bindings: Option<Vec<GqlQueryParameter>>,
    pub named_bindings: Option<HashMap<String, GqlQueryParameter>>,
    pub allow_literals: Option<bool>,
}

A GQL query.

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

Fields

A string of the format described here.

Numbered binding site @1 references the first numbered parameter, effectively using 1-based indexing, rather than the usual 0.

For each binding site numbered i in query_string, there must be an i-th numbered parameter. The inverse must also be true.

For each non-reserved named binding site in the query string, there must be a named parameter with that name, but not necessarily the inverse.

Key must match regex A-Za-z_$*, must not match regex __.*__, and must not be "".

When false, the query string must not contain any literals and instead must bind all values. For example, SELECT * FROM Kind WHERE a = 'string literal' is not allowed, while SELECT * FROM Kind WHERE a = @value is.

Trait Implementations

impl Default for GqlQuery
[src]

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

impl Clone for GqlQuery
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GqlQuery
[src]

Formats the value using the given formatter. Read more

impl Part for GqlQuery
[src]

Auto Trait Implementations

impl Send for GqlQuery

impl Sync for GqlQuery