DataSource constructor
const
DataSource(})
Create database object.
The flag is value final value of bit operator of the value from sqlite.OPEN_READWRITE, sqlite.OPEN_READONLY, sqlite.OPEN_MEMORY. By default, the flag value is set to sqlite.OPEN_READWRITE.
Implementation
const DataSource(
this.name, {
this.flags = sqlite.OPEN_READWRITE | sqlite.OPEN_CREATE,
this.moduleName,
});