void commit() Commit the active database transaction. Return Value void
void __construct(Container $container) Create a new connection factory instance. Parameters Container $container Return Value void
Connection make(array $config, string $name = null) Establish a PDO connection based on the configuration. Parameters array $config string $name Return Value Connection
void __construct(Connection $connection) Create a new event instance. Parameters Connection $connection Return Value void
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.
ConnectorInterface createConnector(array $config) Create a connector instance based on the configuration. Parameters array $config Return Value ConnectorInterface Exceptions InvalidArgumentException
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 class ConnectionEvent (View source) Properties string $connectionName The name of the connection. Connection $connection The database connection instance.
Grammar withTablePrefix(Grammar $grammar) Set the table prefix and return the grammar. Parameters Grammar $grammar Return Value Grammar
void useDefaultQueryGrammar() Set the query grammar to the default implementation. Return Value void
Page 805 of 996