Manual:UpdateQueryBuilder.php
Appearance
MediaWiki file: UpdateQueryBuilder.php | |
---|---|
Location: | includes/libs/rdbms/querybuilder/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | Wikimedia\Rdbms\UpdateQueryBuilder |
Class for build UPDATE queries with a fluent interface. Available since MW 1.41.
Usage
[edit]- Each query builder object must be used for a single database query only, and not be reused afterwards.
- To run multiple similar queries, you can create a query builder to set up most of your query, which you can use as a "template" to clone. You can then modify the cloned object for each individual query.
Public methods
[edit][...]