Class GqlQuery
A GQL query.
Implements
Inherited Members
Namespace: Google.Apis.Datastore.v1.Data
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class GqlQuery : IDirectResponseSchema
Properties
AllowLiterals
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.
Declaration
[JsonProperty("allowLiterals")]
public virtual bool? AllowLiterals { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
NamedBindings
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 ""
.
Declaration
[JsonProperty("namedBindings")]
public virtual IDictionary<string, GqlQueryParameter> NamedBindings { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, GqlQueryParameter> |
PositionalBindings
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.
Declaration
[JsonProperty("positionalBindings")]
public virtual IList<GqlQueryParameter> PositionalBindings { get; set; }
Property Value
Type | Description |
---|---|
IList<GqlQueryParameter> |
QueryString
A string of the format described here.
Declaration
[JsonProperty("queryString")]
public virtual string QueryString { get; set; }
Property Value
Type | Description |
---|---|
string |