MediaWiki  1.28.0
SqlDataUpdate Class Reference
Inheritance diagram for SqlDataUpdate:
Collaboration diagram for SqlDataUpdate:

Public Member Functions

 __construct ()
 
- Public Member Functions inherited from DataUpdate
 __construct ()
 
 setTransactionTicket ($ticket)
 
- Public Member Functions inherited from DeferrableUpdate
 doUpdate ()
 Perform the actual work. More...
 

Protected Attributes

IDatabase $mDb
 Database connection reference. More...
 
array $mOptions = []
 SELECT options to be used (array) More...
 
- Protected Attributes inherited from DataUpdate
mixed $ticket
 Result from LBFactory::getEmptyTransactionTicket() More...
 

Additional Inherited Members

- Static Public Member Functions inherited from DataUpdate
static runUpdates (array $updates)
 Convenience method, calls doUpdate() on every DataUpdate in the array. More...
 

Detailed Description

Deprecated:
Since 1.28 Use DataUpdate directly, injecting the database

Definition at line 27 of file SqlDataUpdate.php.

Constructor & Destructor Documentation

SqlDataUpdate::__construct ( )

Definition at line 33 of file SqlDataUpdate.php.

References DB_MASTER, and wfGetLB().

Member Data Documentation

IDatabase SqlDataUpdate::$mDb
protected

Database connection reference.

Definition at line 29 of file SqlDataUpdate.php.

array SqlDataUpdate::$mOptions = []
protected

SELECT options to be used (array)

Definition at line 31 of file SqlDataUpdate.php.


The documentation for this class was generated from the following file: