Update readme

This commit is contained in:
Buchholz 2021-10-10 13:00:50 +02:00
parent 92725daca5
commit 587b378def

View file

@ -100,4 +100,35 @@ Medoo is under the MIT license.
* Official website: [https://medoo.in](https://medoo.in)
* Documentation: [https://medoo.in/doc](https://medoo.in/doc)
* Documentation: [https://medoo.in/doc](https://medoo.in/doc)
* -----------------------------------------------------------------
For SQLite
*File Database
$database = new Medoo([
'type' => 'sqlite',
'database' => 'my/database/path/database.db'
]);
*Memory database
$database = new Medoo([
'type' => 'sqlite',
'database' => ':memory:'
]);
*Temporary database
Temporary database will be deleted when the connection is closed.
$database = new Medoo([
'type' => 'sqlite',
'database' => ''
]);
// Or simply with no database option.
$database = new Medoo([
'type' => 'sqlite'
]);