Commit Graph

14 Commits

Author SHA1 Message Date
Abitofevrything 3ec04df46f Run melos run build 2022-10-29 14:36:50 +02:00
Simon Binder 28c90b6ffb
Always escape column names
This avoids the performance impact of using a regex in `escapeIfNeeded`.
Closes #2071.
2022-09-22 16:55:36 +02:00
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 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
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 1a2406ddc1
Add new cross-platform Flutter example 2022-04-02 18:01:10 +02:00