Manual:DBAccessObjectUtils.php
Appearance
MediaWiki file: DBAccessObjectUtils.php | |
---|---|
Location: | includes/dao/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
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
[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.