Simon Binder
04c3dbf1b5
Fix triggers in example app
2022-08-31 11:58:25 +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
3744fa0601
Merge branch 'develop' into refactor-type-system
2022-07-20 22:37:34 +02: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
cf8d2618fa
First attempt to get it running again
2022-07-18 23:28:12 +02:00
Simon Binder
a3109b4a6b
Fix query in example app
2022-07-12 17:52:04 +02:00
westito
02ad0e8250
Change integration tests' dialect to postgres
2022-06-30 19:04:55 +02:00
Simon Binder
bfad77788e
Handle nullable converters for compiled queries
2022-06-28 22:34:11 +02:00
Alexander Wilde
345faa91c7
TypeConverter mapToDart -> fromSql, mapToSql -> toSql
2022-06-22 23:50:19 +01:00
Simon Binder
9e2e9c47be
Upgrade to latest `sqlite3` package in example app
2022-05-04 20:41:15 +02:00
Simon Binder
6a47e32afc
Link new cross-platform example in docs
2022-04-08 21:16:46 +02:00
Simon Binder
7c2d95fb30
Use experimental wasm backend in new example
2022-04-02 19:08:33 +02:00
Simon Binder
1a2406ddc1
Add new cross-platform Flutter example
2022-04-02 18:01:10 +02:00