PHP Interface Google\Cloud\Datastore\Query\QueryInterface

Inheritance: extends JsonSerializabl\JsonSerializable
Afficher le fichier Open project: GoogleCloudPlatform/gcloud-php Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

Indicate whether the query type supports automatic pagination
public canPaginate ( ) : boolean
Résultat boolean

queryKey() public méthode

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
Résultat string

queryObject() public méthode

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
Résultat array

start() public méthode

Set the starting cursor.
public start ( string $cursor ) : void
$cursor string
Résultat void