[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-9177":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":36,"discoverSource":37},9177,"drift","simolus3\u002Fdrift","simolus3","Drift is an easy to use, reactive, typesafe persistence library for Dart & Flutter.","https:\u002F\u002Fdrift.simonbinder.eu\u002F",null,"Dart",3220,453,34,213,0,2,6,21,9,69.07,"MIT License",false,"develop",true,[27,28,29,30,31,32],"dart","dart-build-system","flutter","persistence","reactive","sqlite","2026-06-12 04:00:43","# Drift\n\n[![Build Status](https:\u002F\u002Fgithub.com\u002Fsimolus3\u002Fdrift\u002Factions\u002Fworkflows\u002Fmain.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fsimolus3\u002Fdrift\u002Factions\u002Fworkflows\u002Fmain.yml\u002Fbadge.svg)\n[![Using melos](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fmaintained%20with-melos-f700ff.svg?style=flat-square)](https:\u002F\u002Fgithub.com\u002Finvertase\u002Fmelos)\n\n| Core                                                                                      | Generator                                                                                              |\n| :---------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------: |\n| [![Main version](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fdrift.svg)](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fdrift) | [![Generator version](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fdrift_dev.svg)](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fdrift_dev) |\n\nDrift is a reactive persistence library for Flutter and Dart, built on top of\nSQLite.\nDrift is\n\n- __Flexible__: Drift lets you write queries in both SQL and Dart,\nproviding fluent apis for both languages. You can filter and order results\nor use joins to run queries on multiple tables. You can even use complex\nSQL features like `WITH` and `WINDOW` clauses.\n- __🔥 Feature rich__: Drift has builtin support for transactions, schema\nmigrations, complex filters and expressions, batched updates and joins. We\neven have a builtin IDE for SQL!\n- __📦 Modular__: Thanks to builtin support for daos and `import`s in SQL files, drift helps you keep your database code simple.\n- __🛡️ Safe__: Drift generates type-safe code based on your tables and queries. If you make a mistake in your queries, drift will find it at compile time and\nprovide helpful and descriptive lints.\n- __⚡ Fast__: Even though drift lets you write powerful queries, it can keep\nup with the performance of key-value stores like shared preferences and Hive. Drift is the only major persistence library with builtin threading support, allowing you to run database code across isolates with zero additional effort.\n- __Reactive__: Turn any SQL query into an auto-updating stream! This includes complex queries across many tables\n- __⚙️ Cross-Platform support__: Drift works on Android, iOS, macOS, Windows, Linux and the web. [This template](https:\u002F\u002Fgithub.com\u002Fsimolus3\u002Fdrift\u002Ftree\u002Fdevelop\u002Fexamples\u002Fapp) is a Flutter todo app that works on all platforms.\n- __🗡️ Battle tested and production ready__: Drift is stable and well tested with a wide range of unit and integration tests. It powers production Flutter apps.\n\nWith drift, persistence on Flutter is fun!\n\n__To start using drift, read our detailed [docs](https:\u002F\u002Fdrift.simonbinder.eu\u002Fdocs\u002Fgetting-started\u002F).__\n\nIf you have any questions, feedback or ideas, feel free to [create an\nissue](https:\u002F\u002Fgithub.com\u002Fsimolus3\u002Fdrift\u002Fissues\u002Fnew). If you enjoy this\nproject, I'd appreciate your [🌟 on GitHub](https:\u002F\u002Fgithub.com\u002Fsimolus3\u002Fdrift\u002F).\n\n## Sponsors\n\nDrift is proudly Sponsored by [Stream 💙](https:\u002F\u002Fgetstream.io\u002Fchat\u002Fsdk\u002Fflutter\u002F?utm_source=Moor&utm_medium=Github_Repo_Content_Ad&utm_content=Developer&utm_campaign=Moor_July2022_FlutterChatSDK_klmh22)\n\n\u003Cp align=\"center\">\n\u003Ctable>\n    \u003Ctbody>\n        \u003Ctr>\n            \u003Ctd align=\"center\">\n                \u003Ca href=\"https:\u002F\u002Fgetstream.io\u002Fchat\u002Fsdk\u002Fflutter\u002F?utm_source=Moor&utm_medium=Github_Repo_Content_Ad&utm_content=Developer&utm_campaign=Moor_July2022_FlutterChatSDK_klmh22\" target=\"_blank\">\u003Cimg width=\"250px\" src=\"https:\u002F\u002Fstream-blog.s3.amazonaws.com\u002Fblog\u002Fwp-content\u002Fuploads\u002Ffc148f0fc75d02841d017bb36e14e388\u002FStream-logo-with-background-.png\"\u002F>\u003C\u002Fa>\u003Cbr\u002F>\u003Cspan>\u003Ca href=\"https:\u002F\u002Fgetstream.io\u002Fchat\u002Fsdk\u002Fflutter\u002F?utm_source=Moor&utm_medium=Github_Repo_Content_Ad&utm_content=Developer&utm_campaign=Moor_July2022_FlutterChatSDK_klmh22\" target=\"_blank\">Try the Flutter Chat Tutorial &nbsp💬\u003C\u002Fa>\u003C\u002Fspan>\n            \u003C\u002Ftd>\n        \u003C\u002Ftr>\n    \u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003C\u002Fp>\n\n## Working on this project\n\nThis repository contains a number of packages making up the drift project, most\nnotably:\n\n- `drift`: The main runtime for drift, which provides most APIs.\n- `drift_dev`: The compiler for drift tables, databases and daos. It\n   also contains a fully-featured SQL IDE for the Dart analyzer.\n- `sqlparser`: A SQL parser and static analyzer, written in pure Dart. This package can be used without drift to perform analysis on SQL statements.\nIt's on pub at\n[![sqlparser](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Fsqlparser.svg)](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fsqlparser)\n\nWe use [melos](https:\u002F\u002Fmelos.invertase.dev\u002F) to manage the different packages\nin this repository.\n\nYou can install it with `dart pub global activate melos`. To activate it in this\nrepository, run `dart pub get` in this directory followed by `melos bootstrap`.\n\n","Drift 是一个为 Dart 和 Flutter 设计的易于使用、响应式且类型安全的持久化库，基于 SQLite 构建。其核心功能包括灵活的 SQL 和 Dart 查询支持、丰富的内置特性（如事务管理、模式迁移等）、模块化设计以及类型安全的代码生成。此外，Drift 还提供了跨平台支持和自动更新的数据流，适用于需要高性能与复杂查询能力的应用场景，特别是在开发跨平台移动应用时能够提供一致性的数据访问体验。","2026-06-11 03:21:32","top_language"]