Property | Type | Description | |
---|---|---|---|
$obj_schema | This is optional, because Google Datastore is schemaless. |
Method | Description | |
---|---|---|
__construct ( |
Optionally, reference to the Entity schema to check type validity | |
getEndCursor ( ) : string | Get any end cursor | |
getFilters ( ) : array | Get any filters | |
getKind ( ) : string | Get the query Kind | |
getLimit ( ) : integer | Get the query limit | |
getOffset ( ) : integer | Get the offset | |
getOrderBy ( ) : array | Get any order bys | |
getStartCursor ( ) : string | Get any start cursor | |
parse ( $str_gql, google\appengine\datastore\v4\GqlQueryArg[] $arr_named_params = [] ) | Turn a GQL string and parameter array into a "lookup" query |
Method | Description | |
---|---|---|
getIntStringFromValue ( $mix_val ) : array | Extract a string/int tuple from the value. Used for offsets and limits which can be string cursors or integers | |
lookupToken ( $str_val ) : mixed | Lookup the field in our token & named parameter list | |
recordKind ( $arr ) : string | Record the Kind | |
recordLimit ( $arr ) : string | Record the limit | |
recordOffset ( $arr ) : string | Record the offset | |
recordOrder ( $arr ) : string | Process the ORDER BY clause | |
recordWhere ( $arr ) : string | Process the WHERE clause | |
tokenizeQuoted ( $arr ) : string | Record quoted strings, return simple tokens |
public __construct ( |
||
$obj_schema |
public getStartCursor ( ) : string | ||
return | string |
public parse ( $str_gql, google\appengine\datastore\v4\GqlQueryArg[] $arr_named_params = [] ) | ||
$str_gql | ||
$arr_named_params | google\appengine\datastore\v4\GqlQueryArg[] |
protected Schema,GDS|null $obj_schema | ||
return |