Go to the documentation of this file.
46 $this->lb = MediaWikiServices::getInstance()->getDBLoadBalancerFactory()
63 return $this->
getLoadBalancer()->getConnectionRef( $id, $groups, $this->dbDomain );
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.
__construct( $dbDomain=false)
getLoadBalancer()
Get the database type used for read operations.