Jump to content

Manual:PageSelectQueryBuilder.php

From mediawiki.org

Class for building queries on wiki pages and fetching their results. Extends SelectQueryBuilder. Available since MW 1.36.

Public methods

[edit]

WHERE:

  • wherePageIds() - find pages by provided page ids.
  • whereNamespace()
  • whereTitlePrefix()
  • whereTitles()

ORDER BY:

Run and fetch:

  • fetchPageRecord()
  • fetchPageRecords()
  • fetchPageRecordArray()
  • fetchPageIds()