mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-21 21:59:12 +01:00
Update readme
This commit is contained in:
parent
92725daca5
commit
587b378def
1 changed files with 32 additions and 1 deletions
33
include/thirdparty/db/README.md
vendored
33
include/thirdparty/db/README.md
vendored
|
@ -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'
|
||||
]);
|
Loading…
Reference in a new issue