Struct gapi_grpc::google::datastore::v1beta3::GqlQuery [−][src]
A GQL query.
Fields
query_string: String
A string of the format described here.
allow_literals: bool
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.
named_bindings: HashMap<String, GqlQueryParameter>
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_$][A-Za-z_$0-9]*
, must not match regex
__.*__
, and must not be ""
.
positional_bindings: Vec<GqlQueryParameter>
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.
Trait Implementations
impl Clone for GqlQuery
[src][+]
impl Debug for GqlQuery
[src][+]
impl Default for GqlQuery
[src][+]
impl Message for GqlQuery
[src][+]
impl PartialEq<GqlQuery> for GqlQuery
[src][+]
impl StructuralPartialEq for GqlQuery
[src]
Auto Trait Implementations
impl RefUnwindSafe for GqlQuery
impl Send for GqlQuery
impl Sync for GqlQuery
impl Unpin for GqlQuery
impl UnwindSafe for GqlQuery
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,