Commit Graph

450 Commits

Author SHA1 Message Date
Simon Binder 151c374bfe
Fix outdated use of Value.use() in generated code 2019-06-21 21:07:06 +02:00
Simon Binder 62c5106e7d
Migrate tests to companion 2019-06-21 20:29:42 +02:00
Simon Binder 0616fb7082
Migrate to update companions everywhere :) 2019-06-21 20:08:42 +02:00
Simon Binder 0abc3993f4
Fully migrate to new update companions 2019-06-21 19:48:18 +02:00
Simon Binder eee11d53d3
Start to migrate verification logic with update companions 2019-06-21 10:48:42 +02:00
Simon Binder ecf6740cb7
Constraints on type parameters for data classes 2019-06-21 10:27:14 +02:00
Simon Binder 6ac9109c0a
Fix dead code in generated update companions 2019-06-21 09:44:38 +02:00
Simon Binder b79611e6e0
Backwards compatibility: Use DataClasses as companion 2019-06-21 09:42:42 +02:00
Simon Binder ec2592203c
Generate update companions for data classes 2019-06-21 09:16:22 +02:00
Simon Binder 2a5ede1c04
Merge branch 'develop' into delightful-queries 2019-06-16 14:52:49 +02:00
Simon Binder 5fc921aefc
Provide detailed error messages for inconsistent data 2019-06-16 14:44:43 +02:00
Simon Binder 52f3ee045f
Extract sql parser to yet another subpackage 2019-06-15 23:01:10 +02:00
Simon Binder c297b27f60
Scan identifiers 2019-06-15 15:16:58 +02:00
Simon Binder cafaafe2eb
Start with new custom scanner 2019-06-15 15:16:57 +02:00
Simon Binder 69f0b9b393
Begin with simple ast and parser 2019-06-15 15:16:48 +02:00
Simon Binder 87e39c7ad4
Add an option to generate fromJsonString factories 2019-06-09 22:58:06 +02:00
Simon Binder f87472e980
Enable and enforce curly brace for control flow lint 2019-06-09 12:30:12 +02:00
Simon Binder 9241bbccc1
Better integration of floating-point values 2019-06-08 15:04:49 +02:00
Simon Binder 8cc2c21c9a
Annotation to change the generated json key 2019-06-04 22:04: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 b2345a9f28
Add real datatype for numeric values 2019-05-12 10:53:00 +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 091eff1c4e
Merge branch 'master' into develop
# Conflicts:
#	moor_generator/pubspec.yaml
2019-04-14 16:51:37 +02:00
Simon Binder f28eb13b4c
Fix hashcodes, document joins 2019-04-06 13:11:49 +02:00
Simon Binder ab5ac57778
Use jenkins hash 2019-04-05 17:47:51 +02:00
Simon Binder 040f54d004
Write default expressions in column creations 2019-04-01 15:20:01 +02:00
Simon Binder c3f6042c8f
Parse default expressions 2019-04-01 14:44:44 +02:00
Simon Binder d284aca4f6
Improve examples app, fix many issues with joins 2019-04-01 12:27:13 +02:00
Simon Binder e36470211c
Implement transactions 2019-03-31 17:06:22 +02:00
Simon Binder 9ca52d7f87
Use aliases in the operations 2019-03-30 19:21:44 +01:00
Simon Binder df2a681410
Preparation for aliased tables 2019-03-30 18:48:09 +01:00
Simon Binder e05303568f
Upgrade analyzer version 2019-03-27 20:21:57 +01:00
Simon Binder 9490cd22fe
Finish custom constraints implementation 2019-03-27 18:37:29 +01:00
Simon Binder 99d245d0ac
Expand docs on how write database / dao classes 2019-03-27 18:08:41 +01:00
Simon Binder aa6582ae79
Always return the same stream for equal queries 2019-03-20 12:28:18 +01:00
Simon Binder 0cfebf59dc
Support SetOrMapLiteral directly 2019-03-19 13:07:15 +01:00
Simon Binder 3e1cbee3c6
Implement fromJson factory in data classes. 2019-03-15 17:56:39 +01:00
Simon Binder e7cb0cb2e5
Merge pull request #3 from yohom/master
Add a `toJson` method for serialization.
2019-03-15 07:23:03 +01:00
yohom c24f3caff2 `Map<String, Object>` -> `Map<String, dynamic>` 2019-03-15 08:52:54 +08:00
Simon Binder 81fe2e7feb
Implement custom column constraints 2019-03-14 19:11:26 +01:00
yohom c13b0ff17f Add a `toJson` method for serialization. 2019-03-14 17:42:58 +08:00
Simon Binder 5de1656e07
Memoized getters for generated classes 2019-03-10 20:04:32 +01:00
Simon Binder e3fbbb8c13
Implement a BlobColumn to hold arbitrary data 2019-03-10 19:45:32 +01:00
Simon Binder cbd217317a
Let data classes override toString() 2019-03-10 12:54:50 +01:00
Simon Binder bfe1cb8017
Published version 1.0.0 on pub! 2019-03-09 21:00:19 +01:00
Simon Binder d70b447c65
Fix some typos 2019-03-09 20:35:29 +01:00
Simon Binder 4d80ff77c9
Finalize renaming 2019-03-09 17:02:56 +01:00
Simon Binder 62900a93a9
Rename project to "moor" 2019-03-09 16:37:37 +01:00