Jump to content

Manual:DBAccessObjectUtils.php

From mediawiki.org

A helper class for Data Access Object (DAO) classes. The fallback DB index and options are to be used if the entity is not found with the initial DB index, typically querying the primary DB to avoid lag.

Implements

[edit]

Public methods

[edit]
  • hasFlags()
  • getDBOptions( $bitfield ) - get an appropriate DB index, options, and fallback DB index for a query. Takes a bitfield integer of IDBAccessObject::READ_* constants.