Connection::setReadPdo()

$this setReadPdo(PDO|null $pdo) Set the PDO connection used for reading. Parameters PDO|null $pdo Return Value $this

Connection::setPostProcessor()

void setPostProcessor(Processor $processor) Set the query post processor used by the connection. Parameters Processor $processor Return Value void

Connection::setReconnector()

$this setReconnector(callable $reconnector) Set the reconnect instance on the connection. Parameters callable $reconnector Return Value $this

Connection::setQueryGrammar()

void setQueryGrammar(Grammar $grammar) Set the query grammar used by the connection. Parameters Grammar $grammar Return Value void

Connection::setFetchMode()

int setFetchMode(int $fetchMode, mixed $fetchArgument = null, array $fetchConstructorArgument = array()) Set the default fetch mode for the connection, and optional arguments for the given fetch mode. Parameters int $fetchMode mixed $fetchArgument array $fetchConstructorArgument Return Value int

Connection::setDatabaseName()

string setDatabaseName(string $database) Set the name of the connected database. Parameters string $database Return Value string

Connection::setPdo()

$this setPdo(PDO|null $pdo) Set the PDO connection. Parameters PDO|null $pdo Return Value $this

Connection::setEventDispatcher()

void setEventDispatcher(Dispatcher $events) Set the event dispatcher instance on the connection. Parameters Dispatcher $events Return Value void

Connection::select()

array select(string $query, array $bindings = array(), bool $useReadPdo = true) Run a select statement against the database. Parameters string $query array $bindings bool $useReadPdo Return Value array

Connection::rollBack()

void rollBack() Rollback the active database transaction. Return Value void