메소드 | 설명 | |
---|---|---|
__construct ( null | string $str_dataset = null, null | string $str_namespace = null ) | Set up the dataset and optional namespace | |
beginTransaction ( boolean $bol_cross_group = FALSE ) : string | null | Begin a transaction | |
deleteMulti ( array $arr_entities ) : boolean | Delete 1 or many entities, using their Keys | |
getEndCursor ( ) | Get the end cursor from the last response | |
gql ( string $str_gql, array | null $arr_params = null ) : |
Fetch some Entities, based on the supplied GQL and, optionally, parameters | |
upsert ( array $arr_entities ) : |
Put an array of Entities into the Datastore. Return any that need AutoIDs |
메소드 | 설명 | |
---|---|---|
configureObjectValueParamForQuery ( google\appengine\datastore\v4\Value $obj_val, object $mix_value ) | Configure a Value parameter, based on the supplied object-type value | |
createMapper ( ) : |
Create a mapper that's right for this Gateway | |
extractAutoIDs ( ) : array | Extract Auto Insert IDs from the last response | |
fetchByKeyPart ( array $arr_key_parts, $str_setter ) : |
Fetch 1-many Entities, using the Key parts provided |
메소드 | 설명 | |
---|---|---|
addParamsToQuery ( google\appengine\datastore\v4\GqlQuery $obj_query, array $arr_params ) | Add Parameters to a GQL Query object | |
applyNamespace ( object $obj_target ) : mixed | Apply dataset and namespace ("partition") to an object | |
applyTransaction ( $obj ) : mixed | Apply a transaction to an object | |
configureFilterFromGql ( google\appengine\datastore\v4\PropertyFilter $obj_filter, $arr_filter ) | ||
execute ( $str_method, google\net\ProtocolMessage $obj_request, google\net\ProtocolMessage $obj_response ) : mixed | Execute a method against the Datastore | |
executeGqlAsBasicQuery ( google\net\ProtocolMessage $obj_gql_request ) : null | Take a GQL RunQuery request and convert to a standard RunQuery request | |
setupCommit ( ) : google\appengine\datastore\v4\CommitRequest | Set up a commit request | |
setupLookup ( ) : google\appengine\datastore\v4\LookupRequest | Set up a LookupRequest | |
setupRunQuery ( ) : google\appengine\datastore\v4\RunQueryRequest | Set up a RunQueryRequest |
protected configureObjectValueParamForQuery ( google\appengine\datastore\v4\Value $obj_val, object $mix_value ) | ||
$obj_val | google\appengine\datastore\v4\Value | |
$mix_value | object |
protected createMapper ( ) : |
||
리턴 |
public deleteMulti ( array $arr_entities ) : boolean | ||
$arr_entities | array | |
리턴 | boolean |
protected extractAutoIDs ( ) : array | ||
리턴 | array |
protected fetchByKeyPart ( array $arr_key_parts, $str_setter ) : |
||
$arr_key_parts | array | |
$str_setter | ||
리턴 |