Commit Graph

3139 Commits

Author SHA1 Message Date
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
Simon Binder 091eff1c4e
Merge branch 'master' into develop
# Conflicts:
#	moor_generator/pubspec.yaml
2019-04-14 16:51:37 +02:00
Simon Binder 1bb4fe4aab
Changelog for version 1.3.0 2019-04-14 16:47:15 +02:00
Simon Binder 825867d949
Upgrade dependencies 2019-04-14 16:29:24 +02:00
Simon Binder b163ce9753
Merge branch 'develop' of gh:simolus3/moor into develop 2019-04-06 13:30:00 +02:00
Simon Binder 4a40796c90
Use github pygments theme 2019-04-06 13:22:49 +02:00
Simon Binder f28eb13b4c
Fix hashcodes, document joins 2019-04-06 13:11:49 +02:00
Simon Binder 438ba0e2cf
Fix hashcodes, document joins 2019-04-06 13:08:54 +02:00
Simon Binder ab5ac57778
Use jenkins hash 2019-04-05 17:47:51 +02:00
Simon Binder e6cb45d680
Change documentation host 2019-04-03 21:24:01 +02:00
Simon Binder 8d6c9b2ee6
Remove content out of readme in favor of website docs 2019-04-03 10:23:10 +02:00