MediaWiki
1.28.0
|
Public Member Functions | |
__construct (IDatabase $db, $table, $clusterName=false) | |
write (array $updates) | |
Protected Attributes | |
$clusterName | |
$db | |
$table | |
Definition at line 25 of file BatchRowWriter.php.
IDatabase | $db | The database to write to |
string | $table | The name of the table to update |
string | bool | $clusterName | A cluster name valid for use with LBFactory |
Definition at line 46 of file BatchRowWriter.php.
References $clusterName, $db, $table, and table.
BatchRowWriter::write | ( | array | $updates | ) |
array | $updates | Array of arrays each containing two keys, 'primaryKey' and 'changes'. primaryKey must contain a map of column names to values sufficient to uniquely identify the row changes must contain a map of column names to update values to apply to the row. |
Definition at line 58 of file BatchRowWriter.php.
References $lbFactory, as, and table.
|
protected |
Definition at line 39 of file BatchRowWriter.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file BatchRowWriter.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file BatchRowWriter.php.
Referenced by __construct().