MediaWiki 1.41.2
IForeignRepoWithDB.php
Go to the documentation of this file.
1<?php
22
45 public function getPrimaryDB();
46
52 public function getReplicaDB();
53}
A foreign repo that allows for direct access to the foreign MW database.
getReplicaDB()
Get a connection to the replica DB for the foreign repo.
getPrimaryDB()
Get a connection to the primary DB for the foreign repo.
Basic database interface for live and lazy-loaded relation database handles.
Definition IDatabase.php:36