class
Illuminate
/
Database
/
Connectors
/
SqlServerConnector
You are viewing an older version of the documentation. For the latest, please visit master documentation.
SqlServerConnector
Extends
Implements
Properties
protected
$options array
The PDO connection options.
Default: array
Methods
protected
getDsn ( array $config ) : string
Create a DSN string from a configuration.
Parameters
- $config array
protected
prefersOdbc ( array $config ) : bool
Determine if the database configuration prefers ODBC.
Parameters
- $config array
protected
getDblibDsn ( array $config ) : string
Get the DSN string for a DbLib connection.
Parameters
- $config array
protected
getOdbcDsn ( array $config ) : string
Get the DSN string for an ODBC connection.
Parameters
- $config array
protected
getSqlSrvDsn ( array $config ) : string
Get the DSN string for a SqlSrv connection.
Parameters
- $config array
protected
buildConnectString ( $driver , array $arguments ) : string
Build a connection string from the given arguments.
Parameters
- $driver string
- $arguments array
protected
buildHostString ( array $config , $separator ) : string
Build a host string from the given configuration.
Parameters
- $config array
- $separator string
protected
getAvailableDrivers ( ) : array
Get the available PDO drivers.