createSavepoint() public method

Creates a new savepoint.
public createSavepoint ( string $savepoint ) : void
$savepoint string The name of the savepoint to create.
return void
コード例 #1
0
ファイル: Connection.php プロジェクト: koolkode/database
 protected function performCommit($identifier = NULL)
 {
     if ($identifier === NULL) {
         return $this->conn->commit();
     }
     $this->conn->createSavepoint($identifier);
 }
コード例 #2
0
 /**
  * {@inheritDoc}
  */
 public function createSavepoint($savepoint)
 {
     $this->connect('master');
     return parent::createSavepoint($savepoint);
 }