Connection::setReconnector()

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

Connection::setReadPdo()

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

Connection::setQueryGrammar()

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

Connection::setPostProcessor()

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

Connection::setPdo()

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

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::setEventDispatcher()

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

Connection::setDatabaseName()

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

Connection::selectOne()

mixed selectOne(string $query, array $bindings = array()) Run a select statement and return a single result. Parameters string $query array $bindings Return Value mixed

Connection::selectFromWriteConnection()

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