Commit Graph

14 Commits

Author SHA1 Message Date
Simon Binder 8e9e7fc291
Use melos to manage packages (#2060) 2022-09-15 23:42:20 +02:00
Simon Binder 83c7c1ab43
Remove deprecated options, re-run build 2022-08-13 15:14:09 +02:00
Simon Binder b9a605ed25
Allow async mappings from SQL to row classes
When existing, custom row classes are used, drift now supports using a
(potentially asynchronous) static method to load them instead of just
a named constructor like before.
Tables are also changed to support the `map` method being async for
cases where that is needed. The same applies to custom queries which
may have to be async now.
2022-08-12 22:55:02 +02:00
westito e65c4d15d0 Regenerate database files 2022-08-08 11:30:47 +02:00
Alexander Wilde 8fe2f24e56 Run tools/generate_all.sh 2022-07-21 18:00:03 +01:00
Simon Binder a8c6031fc4
Add documentation comments, fix analysis warnings 2022-07-19 23:01:22 +02:00
Simon Binder 22d5f0a8ae
Fix tests 2022-07-19 22:55:08 +02:00
Simon Binder 116f98269d
Always enable the new SQL generation mode 2022-07-03 21:53:17 +02:00
westito 5c4e5e571e Revert dialect changes 2022-07-02 08:30:29 +02:00
westito 02ad0e8250 Change integration tests' dialect to postgres 2022-06-30 19:04:55 +02:00
westito 292da80167 Regenerate all files 2022-06-28 13:24:57 +02:00
westito ff1912fc07 Merge remote-tracking branch 'simolus3/develop' into unique-constraint
# Conflicts:
#	drift/lib/src/ffi/database.dart
2022-04-02 20:13:44 +02:00
Simon Binder e4671d40f7
Update flutter web worker example too 2022-04-01 23:48:15 +02:00
Simon Binder 204fbad682
Move examples into top-level folder 2022-04-01 22:11:21 +02:00