Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Google
Cloud
Datastore
Transaction
delete
Google\Cloud\Datastore\Transaction::delete PHP Method
Transaction Class Documentation
显示文件
Open project: GoogleCloudPlatform/gcloud-php
delete()
public
method
No service requests are run when this method is called. Use {@see \Google\Cloud\Datastore\Transaction::commit()} to commit changes. Example:
$key = $datastore->key('Person', 'Bob'); $transaction->delete($key); $transaction->commit();
public
delete
(
Key
$key
) :
Transaction
$key
Key
The key to delete
return
Transaction
public function delete(Key $key) { return $this->deleteBatch([$key]); }
Transaction
__construct
commit
delete
deleteBatch
insert
insertBatch
lookup
lookupBatch
rollback
runQuery
update
updateBatch
upsert
upsertBatch