drift
drift copied to clipboard
Drift is an easy to use, reactive, typesafe persistence library for Dart & Flutter.
Hi! SQLite support `UPDATE FROM` statements beginning with version 3.33.0. I've managed to implement this statement using Dart extensions and a little bit of hacks, but I'm afraid I don't...
I am currently working on a modular Flutter framework, and I would like to ask for your advice regarding Drift integration in this setup. My architecture is based on separate...
I've been generally using the ToColumns mixin for my inserts and updates instead of a companion class, since I find it useful to simply pass all the data (if some...
**Describe the bug** When running multiple isolates, each managing its own Drift database, memory usage in the Dart/Flutter heap grows significantly. Closing the database connection for an isolate (with a...
When using the `package:postgres` without drift I would have the following test pass: ```dart test('should handle complex JSON data', () async { final now = DateTime.now(); final complexData = {...
**Description** 1. No mention of `--enable-experiment=records` on command `dart run build_runner build` in the [doc](https://drift.simonbinder.eu/setup/#database-class). Otherwise when running `flutter run`, it is failing with ``` Error: This requires the experimental...