MediaWiki
1.30.0
|
Manage savepoints within a transaction. More...
Public Member Functions | |
__construct (DatabasePostgres $dbw, $id, LoggerInterface $logger) | |
__destruct () | |
__toString () | |
commit () | |
release () | |
rollback () | |
savepoint () | |
Protected Member Functions | |
query ( $keyword, $msg_ok, $msg_failed) | |
Protected Attributes | |
DatabasePostgres | $dbw |
Establish a savepoint within a transaction. More... | |
bool | $didbegin |
int | $id |
LoggerInterface | $logger |
Manage savepoints within a transaction.
Definition at line 31 of file SavepointPostgres.php.
Wikimedia\Rdbms\SavepointPostgres::__construct | ( | DatabasePostgres | $dbw, |
$id, | |||
LoggerInterface | $logger | ||
) |
DatabasePostgres | $dbw | |
int | $id | |
LoggerInterface | $logger |
Definition at line 46 of file SavepointPostgres.php.
References Wikimedia\Rdbms\SavepointPostgres\$dbw, Wikimedia\Rdbms\SavepointPostgres\$id, Wikimedia\Rdbms\SavepointPostgres\$logger, Wikimedia\Rdbms\Database\begin(), and Wikimedia\Rdbms\Database\trxLevel().
Wikimedia\Rdbms\SavepointPostgres::__destruct | ( | ) |
Definition at line 58 of file SavepointPostgres.php.
Wikimedia\Rdbms\SavepointPostgres::__toString | ( | ) |
Definition at line 101 of file SavepointPostgres.php.
References Wikimedia\Rdbms\SavepointPostgres\$id.
Wikimedia\Rdbms\SavepointPostgres::commit | ( | ) |
Definition at line 65 of file SavepointPostgres.php.
|
protected |
Definition at line 72 of file SavepointPostgres.php.
References false.
Referenced by Wikimedia\Rdbms\SavepointPostgres\release(), Wikimedia\Rdbms\SavepointPostgres\rollback(), and Wikimedia\Rdbms\SavepointPostgres\savepoint().
Wikimedia\Rdbms\SavepointPostgres::release | ( | ) |
Definition at line 87 of file SavepointPostgres.php.
References Wikimedia\Rdbms\SavepointPostgres\query().
Wikimedia\Rdbms\SavepointPostgres::rollback | ( | ) |
Definition at line 94 of file SavepointPostgres.php.
References Wikimedia\Rdbms\SavepointPostgres\query().
Wikimedia\Rdbms\SavepointPostgres::savepoint | ( | ) |
Definition at line 80 of file SavepointPostgres.php.
References Wikimedia\Rdbms\SavepointPostgres\query().
|
protected |
Establish a savepoint within a transaction.
Definition at line 33 of file SavepointPostgres.php.
Referenced by Wikimedia\Rdbms\SavepointPostgres\__construct().
|
protected |
Definition at line 39 of file SavepointPostgres.php.
|
protected |
Definition at line 37 of file SavepointPostgres.php.
Referenced by Wikimedia\Rdbms\SavepointPostgres\__construct(), and Wikimedia\Rdbms\SavepointPostgres\__toString().
|
protected |
Definition at line 35 of file SavepointPostgres.php.
Referenced by Wikimedia\Rdbms\SavepointPostgres\__construct().