Translations:Manual:Database access/13/en

is typically called with a single parameter, either $3 for read queries or $4 for write queries and write-informing read queries. The distinction between primary and replica is important in a multi-database environment, such as Wikimedia. See the Wrapper functions section below for how to interact with $2 objects.