PHP Interface Google\Cloud\Datastore\Query\QueryInterface

Inheritance: extends JsonSerializabl\JsonSerializable
Datei anzeigen Open project: GoogleCloudPlatform/gcloud-php Interface Usage Examples

Public Methods

Method Description
canPaginate ( ) : boolean Indicate whether the query type supports automatic pagination
queryKey ( ) : string The key used to represent a query in the query_type union field.
queryObject ( ) : array A representation of the Query Object compliant with the Datastore API
start ( string $cursor ) : void Set the starting cursor.

Method Details

canPaginate() public method

Indicate whether the query type supports automatic pagination
public canPaginate ( ) : boolean
return boolean

queryKey() public method

The key used to represent a query in the query_type union field.
See also: https://cloud.google.com/datastore/reference/rest/v1/projects/runQuery#request-body Request Body
public queryKey ( ) : string
return string

queryObject() public method

A representation of the Query Object compliant with the Datastore API
See also: https://cloud.google.com/datastore/reference/rest/v1/projects/runQuery#http-request HTTP Request
public queryObject ( ) : array
return array

start() public method

Set the starting cursor.
public start ( string $cursor ) : void
$cursor string
return void