MediaWiki
1.28.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 28 of file SavepointPostgres.php.
SavepointPostgres::__construct | ( | DatabasePostgres | $dbw, |
$id, | |||
LoggerInterface | $logger | ||
) |
DatabasePostgres | $dbw | |
int | $id | |
LoggerInterface | $logger |
Definition at line 43 of file SavepointPostgres.php.
References $dbw, $id, $logger, Database\begin(), and Database\trxLevel().
SavepointPostgres::__destruct | ( | ) |
Definition at line 55 of file SavepointPostgres.php.
SavepointPostgres::__toString | ( | ) |
Definition at line 98 of file SavepointPostgres.php.
References $id.
SavepointPostgres::commit | ( | ) |
Definition at line 62 of file SavepointPostgres.php.
|
protected |
Definition at line 69 of file SavepointPostgres.php.
References false.
Referenced by release(), rollback(), and savepoint().
SavepointPostgres::release | ( | ) |
Definition at line 84 of file SavepointPostgres.php.
References query().
SavepointPostgres::rollback | ( | ) |
Definition at line 91 of file SavepointPostgres.php.
References query().
SavepointPostgres::savepoint | ( | ) |
Definition at line 77 of file SavepointPostgres.php.
References query().
|
protected |
Establish a savepoint within a transaction.
Definition at line 30 of file SavepointPostgres.php.
Referenced by __construct().
|
protected |
Definition at line 36 of file SavepointPostgres.php.
|
protected |
Definition at line 34 of file SavepointPostgres.php.
Referenced by __construct(), and __toString().
|
protected |
Definition at line 32 of file SavepointPostgres.php.
Referenced by __construct().