Commit Graph

435 Commits

Author SHA1 Message Date
Simon Binder 1068c4934d
Don't schedule work before a database is opened 2021-06-08 21:25:22 +02:00
Simon Binder 45196d070e
Add closeUnderlyingOnClose argument to vm database 2021-06-08 17:23:18 +02:00
Simon Binder 4e6819aab9
Fix issues around closing databases (#1250) 2021-06-07 18:40:09 +02:00
Simon Binder eb362effe8
Option to generate functions for Dart placeholders 2021-06-04 18:28:03 +02:00
Simon Binder 7aa7bb0270
Add test for how batches start transaction 2021-06-03 13:25:29 +02:00
Simon Binder 7b0d0320e1
Improve names of generated view classes 2021-06-01 22:19:03 +02:00
Simon Binder 97c64b54b2
Initial runtime support for views 2021-06-01 22:05:28 +02:00
Simon Binder 0a27100b90
Fix lock not returning futures in right order 2021-05-28 21:59:47 +02:00
Peter Leibiger 6ffd4254aa
Fix test case 2021-05-25 15:58:09 +02:00
Peter Leibiger ec1ec98460
Add test case for insertReturning 2021-05-25 13:57:34 +02:00
Simon Binder 09d1260357
Fix deserializing nullable types (#1211) 2021-05-22 16:52:51 +02:00
Simon Binder f726328f69
Fix encoding updates without kind over isolates 2021-05-21 22:24:00 +02:00
Simon Binder 473477e109 Fix code generation for custom data classes 2021-05-21 11:01:26 +02:00
Simon Binder e5e9e1247c
Allow ofNullable with any type if value isn't null 2021-05-20 11:19:55 +02:00
Simon Binder 0f7929e8e7
Add Value.ofNullable() (#1209) 2021-05-20 11:15:28 +02:00
Simon Binder 8f3a976d6e
Fix CI on Dart 2.13 2021-05-18 22:19:57 +02:00
Simon Binder 41eb6f4181
Avoid dynamic when overriding == 2021-05-14 18:50:29 +02:00
Simon Binder edf74cb860
Don't count columns with useColums: false (#1189) 2021-05-13 10:59:31 +02:00
Simon Binder bc2a2b4d61
Support existing data classes for moor tables 2021-05-11 22:01:51 +02:00
Simon Binder 5f7c20d4eb
Allow named constructors in custom row classes 2021-05-09 12:42:02 +02:00
Simon Binder e05e8fe07e
Add min, max and avg for date times (#1182) 2021-05-07 13:46:13 +02:00
Simon Binder 258512e044
Support dart placeholders for inserts 2021-05-06 22:35:57 +02:00
Simon Binder 382ed71204
Add insertReturning 2021-05-06 18:19:01 +02:00
Simon Binder bbef0d6048
Fix test 2021-05-06 17:29:31 +02:00
Simon Binder 0e4541a987
Generate non-nullable nested result sets 2021-05-06 17:20:13 +02:00
Simon Binder ea5a9322a2
Test to reproduce #1179 2021-05-06 14:34:43 +02:00
Simon Binder 1de5479d60
Add explicit aliases with new codegen 2021-05-04 21:00:28 +02:00
Simon Binder adb27d056b
Start phasing out SqlTypeSystem 2021-04-25 16:14:33 +02:00
Simon Binder eb5196e9e8
Use companions in custom row classes 2021-04-25 15:21:43 +02:00
Simon Binder 885c63e66e
Merge branch 'stream-cancellations' into develop 2021-04-19 21:39:10 +02:00
Simon Binder 925080bd35
Improve cancellations, test with switchMap 2021-04-15 20:52:43 +02:00
Simon Binder 602212f99d
Support REQUIRED annotation for query vars 2021-04-13 22:14:12 +02:00
Simon Binder 8d625cc13b
Initial documentation for custom row classes 2021-04-10 13:01:24 +02:00
Simon Binder 6bbff77271
Rename to @CustomRowClass 2021-04-09 23:33:58 +02:00
Simon Binder 6682c1f909
Initial support for custom data classes 2021-04-09 22:59:41 +02:00
Simon Binder 58fdda482f
Add caseMatch to build CASE WHEN 2021-04-04 21:37:32 +02:00
Simon Binder 133b7c652f
Fix generation for placeholders before arrays 2021-04-03 22:23:37 +02:00
Simon Binder cc93fa8238
Fix nullability issues with cancellations 2021-04-01 17:29:03 +02:00
Simon Binder 2fa3b47235
Actually, don't cancel on the same isolate 2021-03-31 23:30:18 +02:00
Simon Binder 8a99811542
Test cancellations on the same isolate 2021-03-31 23:22:50 +02:00
Simon Binder 04a8bb5694
Support cancellations across isolates 2021-03-31 22:55:35 +02:00
Simon Binder eb39738460
Initial support for RETURNING in the generator 2021-03-30 23:24:28 +02:00
Simon Binder 786bdfa2fc
Don't use types in StreamQueryStore 2021-03-29 22:32:32 +02:00
Simon Binder 5ce5a48cff
Prefer a space after a closing ) in functions 2021-03-23 19:31:55 +01:00
Simon Binder 401b4d3650
Fix reading nullable columns 2021-03-23 16:59:11 +01:00
Simon Binder 7d844d448f
Wrap rollback errors (#1052) 2021-03-18 16:58:12 +01:00
Simon Binder 8499ef4e10
Add watchedTables to CustomExpression 2021-03-13 10:49:29 +01:00
Simon Binder b3f573d8ed
Update stream for subqueries (#1095) 2021-03-13 10:41:36 +01:00
Simon Binder 6f6f73616e
Add integration test for deleting columns 2021-03-12 11:34:12 +01:00
Simon Binder dbc4bcffaa
Fix view generation and references 2021-03-01 11:54:46 +01:00