MediaWiki master
IForeignRepoWithDB.php
Go to the documentation of this file.
1<?php
23
46 public function getPrimaryDB();
47
53 public function getReplicaDB();
54}
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
A database connection without write operations.