lithium\data\source\database\adapter\Sqlite3::__construct()
Overrides
lithium\core\Object::__construct()
Constructor.
Parameters
-
array
$config
The available configuration options are the following. Further options are inherited from the parent classes. Typically, these parameters are set in
Connections::add()
, when adding the adapter to the list of active connections.'database'
string: Defaults to in-memory database':memory:'
.
Returns
voidSource
public function __construct(array $config = array()) {
$defaults = array('database' => ':memory:');
parent::__construct($config + $defaults);
}