SqlServerConnection::setReadPdo()

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

SqlServerConnection::setReconnector()

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

SqlServerConnection::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

SqlServerConnection::setEventDispatcher()

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

SqlServerConnection::setPostProcessor()

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

SqlServerConnection::setPdo()

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

SqlServerConnection::setDatabaseName()

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

SqlServerConnection::selectFromWriteConnection()

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

SqlServerConnection::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

SqlServerConnection::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