- Db\Query
- Db\ReplicatedQuery
class Db \ ReplicatedQuery
- All implemented interfaces:
- Serializable
Represents a query which may have used a replicated connection.
Method Summary
Name | Description |
---|---|
__construct(Connection $connection, $query, $is_master) | |
usedMaster() | |
usedSlave() |
Inherited Method Summary
Name | Description |
---|---|
execute($args = array()) | (from Query) |
fetch() | (from Query) |
fetchAll() | (from Query) |
getConnection() | (from Query) |
rowCount() | (from Query) |
serialize() | We implement Serializable so that this can be used in a serialized exception argument. (from Query) |
unserialize($ser) | (from Query) |
public function __construct(Connection $connection, $query, $is_master)
- Overrides:
- __construct(Connection $connection, $query)