ffi library

Moor implementation using package:sqlite3/.

When using a VmDatabase, you need to ensure that sqlite3 is available when running your app. For mobile Flutter apps, you can simply depend on the sqlite3_flutter_libs package to ship the latest sqlite3 version with your app. For more information other platforms, see other engines.

Typedefs

DatabaseSetup = void Function(Database database)
Signature of a function that can perform setup work on a database before drift is fully ready.
VmDatabase = NativeDatabase
A moor database implementation based on dart:ffi, running directly in a Dart VM or an AOT compiled Dart/Flutter application.

Exceptions / Errors

SqliteException
Thrown by sqlite methods.