Provides access to sqlite3
functions, such as opening new databases.
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tempDirectory ↔ String?
-
Accesses the
sqlite3_temp_directory
variable.getter/setter pairinherited - version → Version
-
The version of the sqlite3 library in used.
no setterinherited
Methods
-
copyIntoMemory(
Database restoreFrom) → Database - Opens a new in-memory database and copies another database into it https://www.sqlite.org/c3ref/backup_finish.html
-
ensureExtensionLoaded(
SqliteExtension extension) → void -
Loads an extensions through the
sqlite3_auto_extension
mechanism. -
fromPointer(
Pointer< void> database) → Database - Creates a Database from an opened sqlite3 database connection.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
String filename, {String? vfs, OpenMode mode = OpenMode.readWriteCreate, bool uri = false, bool? mutex}) → Database -
Opens a database file.
override
-
openInMemory(
{String? vfs}) → Database -
Opens an in-memory database.
override
-
registerVirtualFileSystem(
VirtualFileSystem vfs, {bool makeDefault = false}) → void -
Registers a custom virtual file system used by this sqlite3 instance to
emulate I/O functionality that is not supported through WASM directly.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterVirtualFileSystem(
VirtualFileSystem vfs) → void -
Unregisters a virtual file system implementation that has been registered
with registerVirtualFileSystem.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited