lithium\data\source\database\adapter\Sqlite3::__construct()

public method

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: Can be either a path to a database file or the special ':memory' string. Defaults to in-memory database ':memory:'.

Returns

void

Source

	public function __construct(array $config = []) {
		$defaults = ['database' => ':memory:'];
		parent::__construct($config + $defaults);
	}