drift
drift copied to clipboard
Drift is an easy to use, reactive, typesafe persistence library for Dart & Flutter.
**Describe the bug** I switched my columns in the drift files from `TEXT MAPPED BY 'MyCustomIsoDateTimeConverter()'` to `DATETIME` and set the ` store_date_time_values_as_text: true` flag. I then regenerated and also...
drift/test/database/validate_schema_test.dart validates drift_dev schema generation and should be moved to drift_dev tests.
$where now generates a function with every table included in the query. It would be nice if this function had a type alias that could be imported. I'm not sure...
Hello Simon, I've just updated to use drift 2.0 and I encountered with a very curious failing test in my test suite. The following test in the `integration_tests/select_integration_test.dart` file fails...
If I add a non-nullable column to a table that already has data in it and give it a default value, on migration I get this error. ```ALTER TABLE my_existsing_table...
First, thank you for this lovely software. Rarely, we'll see this issue on production via Crashlytics: ``` SqliteException(11): database disk image is malformed Causing statement: DROP TABLE IF EXISTS ;....
Currently i am using SQLite db using drift package in flutter web app and the sqlite data is stored in the below location in chrome browser. web browser -> application...
I'm using moor^3.0.2. The first entry to the database in a table that has about 10k entries takes a long time, whereas it does not happen for the tables that...
I have error when inserting some data to table: `[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: DatabaseException(no such table: options (code 1 SQLITE_ERROR): , while compiling: INSERT INTO options (id, id_polling, option, is_selected) VALUES...
Current status of other dialects: We have initial support for them, but drift puts its main focus on sqlite3 and some features may not fully work with other database systems....