|
MediaWiki master
|
Interface for generating updates to single rows in the database. More...
Public Member Functions | |
| update ( $row) | |
| Given a database row, generates an array mapping column names to updated value within the database row. | |
Interface for generating updates to single rows in the database.
Definition at line 14 of file RowUpdateGenerator.php.
| MediaWiki\Utils\RowUpdateGenerator::update | ( | $row | ) |
Given a database row, generates an array mapping column names to updated value within the database row.
Sample Response: return [ 'some_col' => 'new value', 'other_col' => 99, ];
| \\stdClass | $row | A row from the database |