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
Simon Binder
786bdfa2fc
Don't use types in StreamQueryStore
2021-03-29 22:32:32 +02:00
Simon Binder
8f069c86f4
Upgrade to stable sqflite with null-safety
2021-03-25 09:19:46 +01: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
15c6140925
Set template on moor ffi docs
2021-03-23 09:06:13 +01:00
Simon Binder
72e47c47eb
Merge pull request #1112 from davidmartos96/patch-1
...
Update to stable version of sqflite_sqlcipher
2021-03-21 15:53:48 +01:00
David Martos
8f9e2a9edb
Use carret syntax
...
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2021-03-21 15:33:38 +01:00
David Martos
b6bf784f14
Update to stable version of sqflite_sqlcipher
2021-03-21 12:49:06 +01:00
Simon Binder
3eb6b75bcf
Fix typos in warning about duplicate dbs ( #1111 )
2021-03-21 11:01:38 +01:00
Simon Binder
3be88813d6
Bring back 404 page
2021-03-19 21:11:12 +01:00
Simon Binder
5efe93e34c
Fix getting started and CLI url
2021-03-19 20:44:35 +01:00
Simon Binder
f76044989e
Adopt minimum SDK version, fix docs on mobile
2021-03-19 20:35:08 +01:00
Simon Binder
92ad6d3154
Retry netlify build
2021-03-19 17:05:34 +01:00
Simon Binder
c1aafa0b9d
Support latest source_gen and dart_style
2021-03-19 16:47:01 +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
ddbb3a2d67
Warn when using RETURNING for now
2021-03-18 16:35:51 +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
c498af95ba
Fix with_build_value example once more
2021-03-16 19:24:06 +01:00
Simon Binder
f677aac4d5
Migrate a few more file in moor_generator
2021-03-16 09:52:35 +01:00
Simon Binder
c32ccac756
Upgrade to build 2.0
2021-03-16 09:47:09 +01:00
Simon Binder
06ba6e1f2e
Fix more dead links
2021-03-13 23:51:31 +01:00
Simon Binder
5017dcb974
Add linkcheck to CI
2021-03-13 23:48:35 +01:00
Simon Binder
21bfb84b31
Replace some outdated links
2021-03-13 23:43:01 +01:00
Simon Binder
7c911713de
Two more analysis errors around RETURNING
2021-03-13 22:25:39 +01:00