open abstract method
Database
open(
- String filename, {
- String? vfs,
- OpenMode mode = OpenMode.readWriteCreate,
- bool uri = false,
- bool? mutex,
override
Opens a database file.
The vfs
option can be used to set the appropriate virtual file system
implementation. When null, the default file system will be used.
If uri
is enabled (defaults to false
), the filename
will be
interpreted as an uri as according to https://www.sqlite.org/uri.html.
If the mutex
parameter is set to true, the SQLITE_OPEN_FULLMUTEX
flag
will be set. If it's set to false, SQLITE_OPEN_NOMUTEX
will be enabled.
By default, neither parameter will be set.
Implementation
@override
Database open(
String filename, {
String? vfs,
OpenMode mode = OpenMode.readWriteCreate,
bool uri = false,
bool? mutex,
});