Jump to content

Manual:UpdateQueryBuilder.php

From mediawiki.org

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]

[...]