drift_sqflite library

Flutter implementation for the drift database packages.

The SqfliteQueryExecutor class can be used as a drift database implementation based on the sqflite package.

Classes

SqfliteQueryExecutor
A query executor that uses sqflite internally.

Typedefs

DatabaseCreator = FutureOr<void> Function(File file)
Signature of a function that runs when a database doesn't exist on file. This can be useful to, for instance, load the database from an asset if it doesn't exist.