namespace Db

Interfaces

Name Description
Connection Represents an instance of a database connection, which can be used to prepare and execute queries. TODO master/slave switch TODO everything else TODO maybe create a subclass SwitchingConnection that can switch as necessary? we can then put initialisation in the __construct

Classes

Name Description
BaseMigration A migration for the migrations table.
DbException
Migration Represents a database "migration", which can be composed together with other migrations across multiple components to initialise a database and update it with updates.
Query Represents an instance of a query, which can be executed and results fetched.
ReplicatedConnection Represents a database that stores the state of updated tables, and uses either replicated database hosts based on the type of query.
ReplicatedQuery Represents a query which may have used a replicated connection.
SoloConnection Represents an instance of a single database connection.