Commit Graph

199 Commits

Author SHA1 Message Date
Simon Binder 214b5fd978
Improve documentation on migrations, add custom statement 2019-06-20 13:08:34 +02:00
Simon Binder 47ef4891e6
Test that callbacks are actually called 2019-06-20 12:18:14 +02:00
Simon Binder 8204f6b393
Improve docs a bit, refactor onOpen callback 2019-06-20 11:41:00 +02:00
Simon Binder 373d7c6478
Remove foreign keys pragma from example 2019-06-19 21:32:27 +02:00
Simon Binder af58b99db1
Fix example app 2019-06-19 21:29:02 +02:00
Simon Binder 5fc921aefc
Provide detailed error messages for inconsistent data 2019-06-16 14:44:43 +02:00
Simon Binder a9cb0b3fdb
Merge branch 'master' into develop 2019-06-16 11:46:55 +02:00
Simon Binder 2e06ab763a
Fix inconsistency in documentation 2019-06-16 09:52:01 +02:00
Simon Binder cb8cb6b1a0
Keep where and limit clauses after join() 2019-06-15 14:15:19 +02:00
Simon Binder 067a33adec
Implement single() version for get() and watch() 2019-06-15 10:56:29 +02:00
Simon Binder 110d775a90
Provide an example usage in the `withDefault` method 2019-06-15 09:30:07 +02:00
Simon Binder acbcc6bb58
Fix NPE when parsing a real type
Fixes #32
2019-06-11 14:49:45 +02:00
Simon Binder 87e39c7ad4
Add an option to generate fromJsonString factories 2019-06-09 22:58:06 +02:00
Simon Binder ce2e6afc6f
Copy license to moor_flutter subproject 2019-06-09 12:33:08 +02:00
Simon Binder f87472e980
Enable and enforce curly brace for control flow lint 2019-06-09 12:30:12 +02:00
Simon Binder a1241bab1d
Version 1.4
More configurable serialization logic, type for floating point values
2019-06-09 12:27:24 +02:00
Simon Binder 71e3f4549a
Write unit tests for the custom serializer 2019-06-09 12:12:56 +02:00
Simon Binder 9241bbccc1
Better integration of floating-point values 2019-06-08 15:04:49 +02:00
Simon Binder 02b646524c
Upgrade dependencies 2019-06-05 21:12:23 +02:00
Simon Binder 27a9256a76
Merge branch 'master' into develop 2019-06-04 22:07:12 +02:00
Simon Binder 4ca71bb14b
Raise sdk constraints to 2.2 in example app 2019-06-04 22:06:22 +02:00
Simon Binder 8cc2c21c9a
Annotation to change the generated json key 2019-06-04 22:04:21 +02:00
Simon Binder 9a0ea09be0
Merge pull request #28 from pkozlovskiy/patch-1
Fix typo
2019-06-03 13:58:42 +02:00
Pavel Kozlovskiy 9b7297edf2
Fix typo 2019-06-03 12:34:11 +03:00
Simon Binder dc0b0e086d
Change email in pubspec 2019-05-29 19:43:21 +02:00
Simon Binder 023c055e44
Implement new serialization api in generated classes 2019-05-23 19:17:47 +02:00
Simon Binder 5db9a5f87d
Actually use the real type, add parent for data classes 2019-05-17 21:25:02 +02:00
Simon Binder f83781d250
Add links to custom homepage in pubspec.yaml 2019-05-12 10:58:07 +02:00
Simon Binder b2345a9f28
Add real datatype for numeric values 2019-05-12 10:53:00 +02:00
Simon Binder f5a1bc7edd
Add constant default value test case 2019-05-09 15:30:17 +02:00
Simon Binder b7f9d6204a
Use Dart 2.2 for testing 2019-05-09 15:25:44 +02:00
Simon Binder 766e5fbbdb
Raise SDK dependencies 2019-05-09 11:30:14 +02:00
Simon Binder 50690290ec
Provide proper generation context during migrations 2019-05-09 10:55:37 +02:00
Simon Binder 12d510e78f
Explain deprecated member use of "elements2" 2019-05-06 20:42:18 +02:00
Simon Binder cd520e5d1e
Fix syntax error in generated code with empty primary key 2019-04-29 18:25:03 +02:00
Simon Binder 211bf56ae7
Fix use of primary key in migrations 2019-04-29 18:04:40 +02:00
Simon Binder 51ae079c33
Deprecate old insertOrReplace method in favor of parameter 2019-04-23 14:04:45 +02:00
Simon Binder 7ed9b02cf2
Use replace parameter rather than flag for inserts 2019-04-23 13:55:57 +02:00
yohom 0f3895b27b chore: Rearrange methods. 2019-04-23 15:05:53 +08:00
yohom b442fe9d34 bugfix: Remove `_orReplace` flag in `InsertStatement`, use `orReplace` parameter. 2019-04-23 15:05:18 +08:00
Simon Binder 4e078beb9b
Merge branch 'master' of gh:simolus3/moor 2019-04-20 16:26:33 +02:00
Simon Binder ea776f8637
Update docs for 1.3 2019-04-20 16:25:55 +02:00
Simon Binder c3910a9add
Update docs for 1.3 2019-04-20 15:38:15 +02:00
Simon Binder 7a44224370
Streams properly deal with aliased tables
Fixes #16
2019-04-19 23:54:57 +02:00
Simon Binder 8bed506e0d
Batched insert statements
Closes #15
2019-04-19 22:45:38 +02:00
Simon Binder 333e71f0a5
Tests for custom table constraints 2019-04-19 21:36:00 +02:00
Simon Binder becb78afbc
Custom table constraints 2019-04-19 20:29:30 +02:00
Simon Binder f15e06fbb0
Log statements during migrations, if desired 2019-04-19 17:59:30 +02:00
Simon Binder 83f8fdd105
Improve documentation for updated features in 1.3 2019-04-19 17:32:21 +02:00
Simon Binder 165693d635
Smaller readme improvement 2019-04-14 16:58:05 +02:00