53 $this->lb = MediaWikiServices::getInstance()->getDBLoadBalancerFactory()
70 return $this->
getLoadBalancer()->getConnectionRef( $id, $groups, $this->dbDomain );
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Logs a warning that a deprecated feature was used.
getLoadBalancer()
Get the database type used for read operations.
__construct( $dbDomain=false)
string bool $dbDomain
The target wiki's DB domain.
getConnection( $id, array $groups=[])
Returns a database connection.
releaseConnection(IDatabase $db)
Releases a database connection and makes it available for recycling.
Interface for database access objects.