drift
Drift 是一个反应式库,用于在 Dart 和 Flutter 应用程序中存储关系型数据。
Drift 是一个易于使用、响应式且类型安全的 Dart 和 Flutter 持久化库。
Drift 是一个反应式库,用于在 Dart 和 Flutter 应用程序中存储关系型数据。
适用于 drift 的开发依赖项。包含生成器和开发工具。
在 Flutter 应用中轻松跨平台设置 drift 数据库。
Drift 数据库包的 Postgres 实现和 API。
基于 `sqflite` 包的纯 Flutter 实现的 drift 数据库。
解析 sqlite 语句并对其执行静态分析
^8.3.0以下为英文项目原文快照,最新内容请访问 GitHub。
| 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.