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
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
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
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
ab0c2c5e55
Release moor and moor_generator version 4.2.1
2021-03-24 10:02:53 +01: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
3eb6b75bcf
Fix typos in warning about duplicate dbs ( #1111 )
2021-03-21 11:01:38 +01:00
Simon Binder
f76044989e
Adopt minimum SDK version, fix docs on mobile
2021-03-19 20:35:08 +01:00
Simon Binder
1d08b73ed4
Remove now unnecessary dependency overrides
2021-03-18 22:56:47 +01:00
Simon Binder
7d844d448f
Wrap rollback errors ( #1052 )
2021-03-18 16:58:12 +01:00
Simon Binder
bdf7d22776
Bump versions of moor, moor_generator and sqlparser
2021-03-18 16:25:00 +01:00
Simon Binder
613c7944c8
Generator option for target sqlite version
2021-03-16 21:45:21 +01:00
Simon Binder
c32ccac756
Upgrade to build 2.0
2021-03-16 09:47:09 +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
13dd26631a
Add MoorWebStorage.volatile
2021-03-10 10:38:25 +01:00
Simon Binder
6714db7aef
Fix type argument in innerJoin and leftOuterJoin
2021-03-05 11:15:14 +01:00
Simon Binder
dbc4bcffaa
Fix view generation and references
2021-03-01 11:54:46 +01:00
Simon Binder
07986ed324
Fix new analysis warning
2021-02-20 22:07:51 +01:00
Simon Binder
9bb2a24abf
Prepare 4.1 release
2021-02-20 22:03:34 +01:00
Simon Binder
2a26253bd2
More docs on remote databases
2021-02-20 11:22:56 +01:00
Simon Binder
6342dd56a9
Document subqueries
2021-02-20 11:01:20 +01:00
David Martos
fb919eeedb
Fixes join when adding columns to "regular" select
2021-02-17 19:58:57 +01:00
David Martos
14aff60dfd
Code review changes
2021-02-17 14:59:28 +01:00
David Martos
c6902bbadc
rename
2021-02-17 09:57:35 +01:00
David Martos
3f2c2ec1a4
merge with upstream
2021-02-17 09:55:35 +01:00
David Martos
49c251de7d
Merge remote-tracking branch 'origin/develop' into subquery
2021-02-17 09:46:10 +01:00
Simon Binder
510fb829fe
Oops, wrong annotation
2021-02-16 17:38:10 +01:00
Simon Binder
b0dbee585f
Add scalar subqueries, IS IN to Dart api
2021-02-16 17:26:44 +01:00
David Martos
a277aebd15
subquery class
2021-02-16 12:47:13 +01:00
David Martos
a270530d05
exists expression
2021-02-16 11:59:55 +01:00
Simon Binder
b0887a9fec
Inline usages of package:synchronized
...
Future-chaining is cheap and gets the job done. Since
the synchronized package is holding back a stable null-
safety release and only has a single use in moor, we can
drop that package in favor of a simpler implementation.
2021-02-15 18:20:55 +01:00
Simon Binder
61d5b7897a
Upgrade dependencies where possible
2021-02-14 14:06:51 +01:00
Simon Binder
0899980ffa
Fix tests in moor
2021-02-12 13:59:09 +01:00
Hossein Yousefi
c9269e13be
added support for CREATE VIEW in .moor files
2021-02-10 16:23:51 +01:00
Simon Binder
7a2c4e7f75
Avoid empty import
2021-02-03 21:02:33 +01:00
Simon Binder
20d9cdf0fd
Add web worker example
2021-01-31 21:50:12 +01:00
Simon Binder
449d1cb2d3
Transform Uint8List in new isolate implementation
2021-01-31 15:52:43 +01:00