Commit Graph

1781 Commits

Author SHA1 Message Date
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
Simon Binder 68bef5d0c4
Document required parameters 2021-04-13 22:20:36 +02:00
Simon Binder 602212f99d
Support REQUIRED annotation for query vars 2021-04-13 22:14:12 +02:00
Simon Binder 51d5ada5c9
Fix moor files importing the original Dart source 2021-04-12 12:01:43 +02:00
Simon Binder 1e962312ca
Improve UX when importing part files (#1136) 2021-04-11 19:56:13 +02:00
Simon Binder 10266ed7a6
Remove moor-specific nodes from ast megalib 2021-04-11 16:43:35 +02:00
Simon Binder 8d625cc13b
Initial documentation for custom row classes 2021-04-10 13:01:24 +02:00
Pavel e1f3242850 option to make all named parameters required 2021-04-10 01:19:26 +03:00
Simon Binder 7885dd0a4f
Add changelog entry for custom row classes 2021-04-09 23:35:58 +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 65cdce342d
Prepare api for custom data classes 2021-04-09 21:17:28 +02:00
Simon Binder 58fdda482f
Add caseMatch to build CASE WHEN 2021-04-04 21:37:32 +02:00
Simon Binder a3a64419b8
Merge pull request #1129 from micimize/single_selectable
Break Selectable methods into smaller interfaces based on return type.
2021-04-04 20:33:04 +02:00
micimize 03f9c03ec7
standardize docstrings 2021-04-04 11:28:52 -05:00
micimize fb2423c28f
use arrow functions and entry* naming for singletons 2021-04-04 11:25:15 -05:00