Spanner/src/Database.php
public function delete($table, KeySet $keySet, array $options = [])
    {
        $mutations = [$this->operation->deleteMutation($table, $keySet)];

        return $this->commitInSingleUseTransaction($mutations, $options);
    }
public function delete($table, KeySet $keySet, array $options = [])
    {
        $mutations = [$this->operation->deleteMutation($table, $keySet)];

        return $this->commitInSingleUseTransaction($mutations, $options);
    }
public function delete ( $ table , KeySet $ keySet , array $ options = [ ] ) { $ mutations = [ $ this -> operation -> deleteMutation ( $ table , $ keySet ) ] ; return $ this -> commitInSingleUseTransaction ( $ mutations , $ options ) ; }
Delete one or more rows.

Mutations are committed in a single-use transaction.

Since this method does not feature replay protection, it may attempt to
apply mutations more than once; if the mutations are not idempotent, this
may lead to a failure being reported when the mutation was previously
applied.

Example:
```
$keySet = new KeySet([
'keys' => [
1337, 1338
]
]);

$database->delete('Posts', $keySet);
```

@codingStandardsIgnoreStart
@see https://cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.CommitRequest CommitRequest
@codingStandardsIgnoreEnd

@param string $table The table to mutate.
@param KeySet $keySet The KeySet to identify rows to delete.
@param array $options [optional] Configuration options.
@return Timestamp The commit Timestamp.
Delete one or more rows .