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
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