SqlServerConnector::getDefaultOptions()

array getDefaultOptions() Get the default PDO connection options. Return Value array

SqlServerConnector::setDefaultOptions()

void setDefaultOptions(array $options) Set the default PDO connection options. Parameters array $options Return Value void

SqlServerConnector::createConnection()

PDO createConnection(string $dsn, array $config, array $options) Create a new PDO connection. Parameters string $dsn array $config array $options Return Value PDO

SqlServerConnector::getOptions()

array getOptions(array $config) Get the PDO options based on the configuration. Parameters array $config Return Value array

SqlServerConnection::useDefaultSchemaGrammar()

void useDefaultSchemaGrammar() Set the schema grammar to the default implementation. Return Value void

SqlServerConnector::connect()

PDO connect(array $config) Establish a database connection. Parameters array $config Return Value PDO

SqlServerConnector

SqlServerConnector class SqlServerConnector extends Connector implements ConnectorInterface (View source) Traits DetectsLostConnections

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

SqlServerConnection::withTablePrefix()

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

SqlServerConnection::transactionLevel()

int transactionLevel() Get the number of active transactions. Return Value int