#206206th of 358 in Backends, databases and hosting
drift
Reactive SQLite persistence library for Flutter and Dart with generated type-safe queries
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 3.3k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Dart
3,177 on 26 Apr 20263,305 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Drift is a Dart and Flutter library on top of SQLite. Tables and queries are written in Dart or SQL, and code generation produces type-safe APIs, with SQL checked at compile time. Queries can be exposed as auto-updating streams, and database work can run across isolates. It targets Android, iOS, macOS, Windows, Linux and the web. It is not an AI project.
Who it is for: Flutter and Dart developers who need a local SQLite database layer
Strengths
- Queries written in Dart or SQL, including WITH and WINDOW clauses, checked at compile time
- Any query, including multi-table ones, can be turned into an auto-updating stream
- Built-in transactions, schema migrations, DAOs and batched updates
- Runs on Android, iOS, macOS, Windows, Linux and web; includes a sample Flutter todo app
Weaknesses
- Limited to Dart and Flutter; no support for other languages
- Needs a code generator (drift_dev) in the build step
- Local SQLite persistence only; no server, auth or sync, which need separate tools
- Not an AI project; fits this list only loosely
What it needs
- no GPU
- Docker
- Needs SQLite
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- `GeneratedColumn` name cannot be one of the inherited Table methods when generated from Drift files ↗ (opens in a new tab)2 reactions · closed 14 Oct 2026Fixed by Escape SQL column names that conflict with table class members ↗ (opens in a new tab)
- Boolean column with a default value always fails in SchemaVerifier.migrateAndValidate (TRUE vs 1) ↗ (opens in a new tab)1 reactions · closed 14 Jul 2026Fixed by fix: don't report a boolean default TRUE/1 as a schema difference (#3738) ↗ (opens in a new tab)
- Bug: write_from_json_string_constructor + modular mode generates DataClass.parseJson(...) without i0. prefix, causing compile error. ↗ (opens in a new tab)0 reactions · closed 3 Apr 2026Fixed by Fix DataClass.parseJson missing import prefix in modular mode ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Backends, databases and hosting
See all 358| Rank | Project | Score |
|---|---|---|
| #204 | ihpHaskell web framework with type-safe routing, queries and HTML templates | 68 out of 100 |
| #205 | dgs-frameworkGraphQL server framework for Spring Boot, built by Netflix | 68 out of 100 |
| #207 | remultTypeScript entity library that generates CRUD, realtime API and typed client | 68 out of 100 |
| #208 | reyloImport .sql files into TypeScript with types inferred from your database | 68 out of 100 |
| #209 | arangodbMulti-model database for graphs, JSON documents and full-text search via AQL | 67 out of 100 |