Skip to content
CAI
Produce a survey ↗Verify a survey

simolus3/drift

Drift is a reactive database library for Dart that provides a type-safe, SQL-like API for interacting with SQLite and other SQL databases. It features a comprehensive code generation system that transforms database schemas into strongly-typed Dart classes, supporting complex query building, schema migrations, and cross-platform execution on native, web, and mobile environments. The system also includes tooling for static analysis, schema validation, and debugging, enabling developers to manage database state, handle background operations, and ensure data integrity across diverse platforms.

58.8

Adequate · 29 July 2026

112k

lines of production code

Dart

primary language

1

bus factor · 198 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2019–2021 · Drift 3.0 and sqlparser rewrite

This period focused on the major architectural shift from the legacy Moor codebase to the new Drift package, introducing a complete rewrite of the SQL parser and query builder. The work established a modernized API with support for background isolates, remote database connections, and WebAssembly, while also adding comprehensive tooling for schema management and code generation.

88 changes

2022 · Drift3 analysis and modular code generation

This period focused on overhauling the Drift code generator with a new static analysis backend and modular architecture, enabling more robust handling of Dart and SQL elements. The work also expanded platform support by introducing the drift_sqflite package and adding comprehensive examples for Flutter, Web, and encrypted databases.

65 changes

2023–2026 · Drift 3 preview and web backend expansion

This period focused on the Drift 3 preview, introducing a new API with connection pooling, computed fields, and a standalone manager package. It also expanded web support with a WASM-based backend and added experimental backends for MariaDB and PostgreSQL.

55 changes

CAI lens gauges

Survey your own repository

simolus3/drift was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 29 July 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit d4aff5ddbb — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards