ConnectionInterface::commit()

void commit() Commit the active database transaction. Return Value void

ConnectionFactory::__construct()

void __construct(Container $container) Create a new connection factory instance. Parameters Container $container Return Value void

ConnectionFactory::make()

Connection make(array $config, string $name = null) Establish a PDO connection based on the configuration. Parameters array $config string $name Return Value Connection

ConnectionEvent::__construct()

void __construct(Connection $connection) Create a new event instance. Parameters Connection $connection Return Value void

ConnectionFactory

ConnectionFactory class ConnectionFactory (View source) Methods void __construct(Container $container) Create a new connection factory instance. Connection make(array $config, string $name = null) Establish a PDO connection based on the configuration. ConnectorInterface createConnector(array $config) Create a connector instance based on the configuration.

ConnectionFactory::createConnector()

ConnectorInterface createConnector(array $config) Create a connector instance based on the configuration. Parameters array $config Return Value ConnectorInterface Exceptions InvalidArgumentException

Connection::__construct()

void __construct(PDO|Closure $pdo, string $database = '', string $tablePrefix = '', array $config = array()) Create a new database connection instance. Parameters PDO|Closure $pdo string $database string $tablePrefix array $config Return Value void

ConnectionEvent

ConnectionEvent class ConnectionEvent (View source) Properties string $connectionName The name of the connection. Connection $connection The database connection instance.

Connection::withTablePrefix()

Grammar withTablePrefix(Grammar $grammar) Set the table prefix and return the grammar. Parameters Grammar $grammar Return Value Grammar

Connection::useDefaultQueryGrammar()

void useDefaultQueryGrammar() Set the query grammar to the default implementation. Return Value void