MediaWiki
1.32.5
|
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 32 of file SavepointPostgres.php.
Wikimedia\Rdbms\SavepointPostgres::__construct | ( | DatabasePostgres | $dbw, |
$id, | |||
LoggerInterface | $logger | ||
) |
DatabasePostgres | $dbw | |
int | $id | |
LoggerInterface | $logger |
Definition at line 47 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 59 of file SavepointPostgres.php.
Wikimedia\Rdbms\SavepointPostgres::__toString | ( | ) |
Definition at line 102 of file SavepointPostgres.php.
References Wikimedia\Rdbms\SavepointPostgres\$id.
Wikimedia\Rdbms\SavepointPostgres::commit | ( | ) |
Definition at line 66 of file SavepointPostgres.php.
|
protected |
Definition at line 73 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 88 of file SavepointPostgres.php.
References Wikimedia\Rdbms\SavepointPostgres\query().
Wikimedia\Rdbms\SavepointPostgres::rollback | ( | ) |
Definition at line 95 of file SavepointPostgres.php.
References Wikimedia\Rdbms\SavepointPostgres\query().
Wikimedia\Rdbms\SavepointPostgres::savepoint | ( | ) |
Definition at line 81 of file SavepointPostgres.php.
References Wikimedia\Rdbms\SavepointPostgres\query().
|
protected |
Establish a savepoint within a transaction.
Definition at line 34 of file SavepointPostgres.php.
Referenced by Wikimedia\Rdbms\SavepointPostgres\__construct().
|
protected |
Definition at line 40 of file SavepointPostgres.php.
|
protected |
Definition at line 38 of file SavepointPostgres.php.
Referenced by Wikimedia\Rdbms\SavepointPostgres\__construct(), and Wikimedia\Rdbms\SavepointPostgres\__toString().
|
protected |
Definition at line 36 of file SavepointPostgres.php.
Referenced by Wikimedia\Rdbms\SavepointPostgres\__construct().