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
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
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
micimize
7f83898d00
normalize example methods based on docs elsewhere
2021-04-04 11:13:10 -05:00
Michael Joseph Rosenthal
eb0c5da412
Merge branch 'develop' into single_selectable
2021-04-04 11:04:34 -05:00
micimize
bb38169803
Selectable refinement: add docs, explanations, and examples
2021-04-04 11:02:49 -05:00
Simon Binder
133b7c652f
Fix generation for placeholders before arrays
2021-04-03 22:23:37 +02:00
micimize
720929e38e
fix path_provider dead link
2021-04-02 21:58:07 -05:00
micimize
2db108529f
break Selectable methods into smaller interfaces based on return type.
...
This makes it so users can expose more refined/foolproof apis to their application:
```dart
extension TaskMethods on Task {
/// won't make mistakes like using getSingle when using
SingleOrNullSelectable<CalendarEvent> get event =>
db.calendarEvents.forTask(this);
/// autocomplete ignores getSingle, etc
MultiSelectable<Metric> get metrics =>
db.metrics.forTask(this);
}
```
2021-04-02 21:26:18 -05:00
Simon Binder
9b6b5d1b69
Make rowid aliases non-nullable ( #1128 )
2021-04-02 21:54:31 +02:00
Simon Binder
12ab64a33e
Support cancellations in moor_flutter
2021-04-01 17:43:23 +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
edb219ecfe
Use Future.delayed in cancellation zones only
2021-03-31 23:10:07 +02:00
Simon Binder
04a8bb5694
Support cancellations across isolates
2021-03-31 22:55:35 +02:00
Simon Binder
357764a1b7
Initial support for query cancellations
2021-03-31 21:49:34 +02:00
Simon Binder
0692182829
Fix moor_flutter example
2021-03-31 10:05:11 +02:00
Simon Binder
eb39738460
Initial support for RETURNING in the generator
2021-03-30 23:24:28 +02:00
Simon Binder
5ac0582280
Properly resolve RETURNING columns
2021-03-30 11:03:12 +02:00
Simon Binder
0842a47d31
Two more lints for RETURNING clauses
2021-03-30 10:30:24 +02:00
Simon Binder
24f77bafa1
Fix link to path_provider
2021-03-29 22:43:37 +02:00