Simon Binder
|
3dddc6993a
|
Remove outdated todo entries
|
2019-07-01 21:37:08 +02:00 |
Simon Binder
|
44663d3648
|
Make `getSingle` and `watchSingle` return null when empty
Closes #47
|
2019-06-30 22:24:04 +02:00 |
Simon Binder
|
464754267e
|
Document new features for version 1.5
|
2019-06-30 22:16:58 +02:00 |
Simon Binder
|
f5492b8bcb
|
Generate code for update and delete statements
|
2019-06-30 19:34:54 +02:00 |
Simon Binder
|
f8834f0e15
|
More fluent api to define queries
|
2019-06-30 13:35:13 +02:00 |
Simon Binder
|
b4de942915
|
Write query engine override param for generated queries
This allows them to be used in transactions and post-
migration callbacks.
|
2019-06-30 13:09:07 +02:00 |
Simon Binder
|
53ea5835a8
|
For custom queries, use a matching data class if possible
|
2019-06-30 12:01:46 +02:00 |
Simon Binder
|
22f78589db
|
Support custom queries in daos
|
2019-06-29 15:51:23 +02:00 |
Simon Binder
|
53d57d6a96
|
Refactor generator: Extract common operations
|
2019-06-29 15:23:14 +02:00 |
Simon Binder
|
33682a0ad1
|
Write readsFrom field for custom queries
|
2019-06-29 14:04:01 +02:00 |
Simon Binder
|
646987ad69
|
Correctly write variables in analyzed queries
|
2019-06-29 13:47:33 +02:00 |
Simon Binder
|
2a8edbde0d
|
Write implementation methods for queries
|
2019-06-29 11:23:06 +02:00 |
Simon Binder
|
40a4ebdadf
|
Started to integrate the sqlparser into moor generator
|
2019-06-28 23:41:27 +02:00 |
Simon Binder
|
6d54a21091
|
Merge branch 'master' into develop
|
2019-06-27 10:01:05 +02:00 |
Simon Binder
|
3c7e25a169
|
Fix analysis warning that popped out of nowhere
|
2019-06-27 09:55:03 +02:00 |
Simon Binder
|
a6505d691b
|
Fix deserialization of null datetime values
|
2019-06-27 09:37:51 +02:00 |
Simon Binder
|
6e4f33c931
|
Apply defaults for absent values during replace
|
2019-06-25 22:36:31 +02:00 |
Simon Binder
|
178df7ab1e
|
Provide hint on join that includes same table twice
|
2019-06-25 22:09:56 +02:00 |
Simon Binder
|
1d36e3316d
|
Merge branch 'delightful-queries' into develop
|
2019-06-22 19:02:57 +02:00 |
Simon Binder
|
af5fca7dca
|
Migrate example to new opening callback
|
2019-06-22 19:02:25 +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
|
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
|
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
|
69f0b9b393
|
Begin with simple ast and parser
|
2019-06-15 15:16:48 +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
|
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
|
8cc2c21c9a
|
Annotation to change the generated json key
|
2019-06-04 22:04:21 +02: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
|
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
|
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 |
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
|
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
|
83f8fdd105
|
Improve documentation for updated features in 1.3
|
2019-04-19 17:32:21 +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
|
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
|
8d6c9b2ee6
|
Remove content out of readme in favor of website docs
|
2019-04-03 10:23:10 +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
|
62743dc15f
|
Define API for default values
|
2019-04-01 14:28:44 +02:00 |
Simon Binder
|
d284aca4f6
|
Improve examples app, fix many issues with joins
|
2019-04-01 12:27:13 +02:00 |
Simon Binder
|
50076102ac
|
Fix concurrent modification in stream query store
closes #13
|
2019-03-31 18:58:08 +02:00 |
Simon Binder
|
6d45805035
|
More documentation for transactions
|
2019-03-31 17:40:59 +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
|
bbf12ff5ec
|
Ensure the database is open before executing transactions
|
2019-03-30 14:56:55 +01:00 |
Simon Binder
|
93d292cff1
|
Release 1.2
|
2019-03-27 19:02:58 +01:00 |
Simon Binder
|
9490cd22fe
|
Finish custom constraints implementation
|
2019-03-27 18:37:29 +01:00 |
Simon Binder
|
f3a0f5f230
|
Allow transactions in DAOs
|
2019-03-27 18:20:16 +01:00 |
Simon Binder
|
99d245d0ac
|
Expand docs on how write database / dao classes
|
2019-03-27 18:08:41 +01:00 |
Simon Binder
|
af8267bb8a
|
Run dartfmt on tools
|
2019-03-23 11:52:14 +01:00 |
Simon Binder
|
828ac8c23f
|
Switch to codecov, also report on moor_generator
|
2019-03-23 11:32:31 +01:00 |
Simon Binder
|
aa6582ae79
|
Always return the same stream for equal queries
|
2019-03-20 12:28:18 +01:00 |
Simon Binder
|
5141bdc8c5
|
Workaround for analyzer acting up
|
2019-03-19 13:36:43 +01:00 |
Simon Binder
|
b7555999c6
|
Format coverage collectors
|
2019-03-19 13:08:41 +01:00 |
Simon Binder
|
74ee36bc98
|
Collect test coverage
|
2019-03-19 12:52:02 +01:00 |
Simon Binder
|
3e1cbee3c6
|
Implement fromJson factory in data classes.
|
2019-03-15 17:56:39 +01:00 |
Simon Binder
|
e7ece27528
|
Implement insertOrReplace method for insert statements
|
2019-03-15 12:56:22 +01:00 |
Simon Binder
|
81fe2e7feb
|
Implement custom column constraints
|
2019-03-14 19:11:26 +01:00 |
Simon Binder
|
2e96ef1d56
|
Fix tests
|
2019-03-11 20:30:05 +01: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
|
8fe350219c
|
Release version 1.1
|
2019-03-10 15:21:42 +01:00 |
Simon Binder
|
62db5ef29c
|
Update versions to 1.1.0
|
2019-03-10 15:11:49 +01:00 |
Simon Binder
|
d506d54315
|
Bugfixes, formatting, and finalizing transactions
|
2019-03-10 15:08:29 +01:00 |
Simon Binder
|
cbd217317a
|
Let data classes override toString()
|
2019-03-10 12:54:50 +01:00 |
Simon Binder
|
09d047a868
|
Tests for transactions
|
2019-03-10 12:38:53 +01:00 |
Simon Binder
|
b5237bf36b
|
Update existing tests to respect transactions
|
2019-03-10 12:06:02 +01:00 |
Simon Binder
|
049a970b37
|
Transactions
|
2019-03-10 12:00:25 +01:00 |
Simon Binder
|
bfe1cb8017
|
Published version 1.0.0 on pub!
|
2019-03-09 21:00:19 +01:00 |
Simon Binder
|
bfa046dfd2
|
Fill out remaining info in generated files.
|
2019-03-09 20:41:02 +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 |