pull/279/head
FabianLars 2 years ago
parent 481ff0caf0
commit 03952644e7
No known key found for this signature in database
GPG Key ID: 3B12BC1DEBF61125

@ -37,8 +37,8 @@ export default class Database {
* *
* The path must be in one of the following formats: * The path must be in one of the following formats:
* - `sqlite::memory:`: Open an in-memory database. * - `sqlite::memory:`: Open an in-memory database.
* - `sqlite:///data.db`: Open the file `data.db` from the root directory. `sqlite://\\?\` will be automatically converted to `sqlite:///` * - `sqlite:///data.db`: Open the file `data.db` from the root directory. `sqlite://\\?\` will be automatically converted to `sqlite:///`.
* - `sqlite://data.db` or `sqlite:data.db`: Open the file `data.db` relative to the `dir` argument, or BaseDirectory.App if not provided * - `sqlite://data.db` or `sqlite:data.db`: Open the file `data.db` relative to the `dir` argument, or BaseDirectory.App if not provided.
* Appending `?mode=ro` to the path will open the database in read-only mode. * Appending `?mode=ro` to the path will open the database in read-only mode.
* *
* @example * @example
@ -66,8 +66,8 @@ export default class Database {
* *
* The path must be in one of the following formats: * The path must be in one of the following formats:
* - `sqlite::memory:`: Open an in-memory database. * - `sqlite::memory:`: Open an in-memory database.
* - `sqlite:///data.db`: Open the file `data.db` from the root directory. `sqlite://\\?\` will be automatically converted to `sqlite:///` * - `sqlite:///data.db`: Open the file `data.db` from the root directory. `sqlite://\\?\` will be automatically converted to `sqlite:///`.
* - `sqlite://data.db` or `sqlite:data.db`: Open the file `data.db` relative to the `dir` argument, or BaseDirectory.App if not provided * - `sqlite://data.db` or `sqlite:data.db`: Open the file `data.db` relative to the `dir` argument, or BaseDirectory.App if not provided.
* Appending `?mode=ro` to the path will open the database in read-only mode. * Appending `?mode=ro` to the path will open the database in read-only mode.
* *
* @example * @example

Loading…
Cancel
Save