Manual:DBAccessObjectUtils.php
MediaWiki file: DBAccessObjectUtils.php | |
---|---|
Location: | includes/dao/ |
Source code: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Classes: | DBAccessObjectUtils |
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
editPublic 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.