drift
Drift is a reactive library to store relational data in Dart and Flutter applications.
Drift is an easy to use, reactive, typesafe persistence library for Dart & Flutter.
Drift is a reactive library to store relational data in Dart and Flutter applications.
Dev-dependency for users of drift. Contains the generator and development tools.
Easily set up drift databases across platforms in Flutter apps.
Postgres implementation and APIs for the drift database package.
A Flutter-only implementation of a drift database, based on the `sqflite` package.
Parses sqlite statements and performs static analysis on them
^8.3.0English project snapshot. Visit GitHub for the latest content.
| Core | Generator |
|---|---|
| Main version | Generator version |
Drift is a reactive persistence library for Flutter and Dart, built on top of SQLite. Drift is:
WITH and WINDOW clauses.imports in SQL files, drift helps you keep your database code simple.With drift, persistence on Flutter is fun!
To start using drift, read our detailed docs.
If you have any questions, feedback or ideas, feel free to create an issue. If you enjoy this project, I'd appreciate your 🌟 on GitHub.
Drift is proudly Sponsored by Stream 💙 and PowerSync.
This repository contains a number of packages making up the drift project, most notably:
drift: The main runtime for drift, which provides most APIs.drift_dev: The compiler for drift tables, databases and daos. It
also contains a fully-featured SQL IDE for the Dart analyzer.sqlparser: A SQL parser and static analyzer, written in pure Dart. This package can be used without drift to perform analysis on SQL statements.
It's on pub at
sqlparser.We use melos to manage the different packages in this repository.
You can install it with dart pub global activate melos. To activate it in this
repository, run dart pub get in this directory followed by melos bootstrap.