SQLiteConnector (Database\Connectors)
SQLiteConnector
class SQLiteConnector extends Connector implements ConnectorInterface (View source)
Traits
DetectsLostConnections |
Methods
array | getOptions( array $config) Get the PDO options based on the configuration. | from Connector |
PDO | createConnection( string $dsn, array $config, array $options) Create a new PDO connection. | from Connector |
array | getDefaultOptions() Get the default PDO connection options. | from Connector |
void | setDefaultOptions( array $options) Set the default PDO connection options. | from Connector |
PDO | connect( array $config) Establish a database connection. |
Details
array getOptions( array $config)
Get the PDO options based on the configuration.
PDO createConnection( string $dsn, array $config, array $options)
Create a new PDO connection.
array getDefaultOptions()
Get the default PDO connection options.
void setDefaultOptions( array $options)
Set the default PDO connection options.
PDO connect( array $config)
Establish a database connection.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Database/Connectors/SQLiteConnector.html