Commit Graph

1896 Commits

Author SHA1 Message Date
Simon Binder a46cc07ed4
Refactor column resolver in sqlparser
Fixes #1208
2021-05-21 17:47:14 +02:00
Simon Binder 473477e109 Fix code generation for custom data classes 2021-05-21 11:01:26 +02:00
Simon Binder c6ecff5a0a Use const uuid where possible 2021-05-21 10:50:54 +02:00
Simon Binder d220892f64 Delete mysql extra 2021-05-21 10:48:29 +02:00
Simon Binder 29bb6a73c8 Fix pub get from clean state 2021-05-21 10:47:42 +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 d9dd76e484
Fix "edit page" link 2021-05-18 21:47:23 +02:00
Simon Binder c40bfc9f4c
Migrate type converter sample to null safety 2021-05-17 22:14:07 +02:00
Simon Binder 371e744288
Prepare to release 4.3.0 2021-05-15 17:23:29 +02:00
Simon Binder 8d1483ea97
Merge branch 'master' into develop 2021-05-15 17:20:52 +02:00
Simon Binder 464139f454
Adapt excludes in analysis options 2021-05-15 10:42:15 +02:00
Simon Binder ab8df5b270
Document custom row classes for moor files 2021-05-14 20:39:32 +02:00
Simon Binder 4bca48fd17
Support generating older data classes 2021-05-14 20:18:40 +02:00
Simon Binder 41eb6f4181
Avoid dynamic when overriding == 2021-05-14 18:50:29 +02:00
Simon Binder 2a2f73a821
Fix custom_row_classes_test 2021-05-13 12:04:28 +02:00
Simon Binder 0d8741a7b4
Fix nullability in encapsulate 2021-05-13 11:59:01 +02:00
Simon Binder edf74cb860
Don't count columns with useColums: false (#1189) 2021-05-13 10:59:31 +02:00
Simon Binder 50f5e14f76
Escape backslash in strings 2021-05-13 10:51:41 +02:00
Simon Binder bc2a2b4d61
Support existing data classes for moor tables 2021-05-11 22:01:51 +02:00
Simon Binder 273d03a3db
Remove unecessary dev_dependency 2021-05-11 20:53:19 +02:00
Simon Binder 2fe8151508
Generate null-safe migration tests if possible 2021-05-11 20:47:23 +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 cfd187d17c
Document Insertable placeholders 2021-05-06 22:44:27 +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 43fea9bc2d
Integration test for RETURNING 2021-05-06 17:39:59 +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 4f2268410e
Migrate VM and web integration tests 2021-05-06 16:50:31 +02:00
Simon Binder 6559f67f45
Upgrade sql.js 2021-05-06 16:37:05 +02:00
Simon Binder ea5a9322a2
Test to reproduce #1179 2021-05-06 14:34:43 +02:00
Simon Binder b6a2fcd603
Copy list in transformChildren 2021-05-05 19:46:13 +02:00
Simon Binder 1de5479d60
Add explicit aliases with new codegen 2021-05-04 21:00:28 +02:00
Simon Binder c5d696a9eb
Report error when tables can't be read 2021-05-03 18:06:19 +02:00
Simon Binder 878af3add8
Support abstract tableName getter (#1172) 2021-05-03 12:31:20 +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 df7f1fb051
Docs: Update isNull / isNotNull 2021-04-25 15:12:55 +02:00
Simon Binder 3d6537ccfb
Avoid deprecated analyzer apis 2021-04-21 20:39:08 +02:00
Simon Binder 17f43bc9fc
Parse RAISE expressions (#1154) 2021-04-21 20:29:50 +02:00
Simon Binder 67f7e269e0
Lift parser.dart out of singleton dir 2021-04-21 19:59:18 +02:00
Simon Binder acd452401b
Publish 4.2.2 of moor_generator 2021-04-21 11:09:49 +02:00
Simon Binder 852523a5da
Expand version range for build_config 2021-04-21 11:07:40 +02:00
Simon Binder 8b5d5a9f6c
Check types for existing row classes 2021-04-20 22:34:11 +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 fd18984cae
Fix formatting issues in CI 2021-04-13 22:30:19 +02:00