Commit Graph

2433 Commits

Author SHA1 Message Date
Simon Binder 178df7ab1e
Provide hint on join that includes same table twice 2019-06-25 22:09:56 +02:00
Simon Binder 12e8c31b71
Fix select statement including a null iterable as children 2019-06-24 20:08:59 +02:00
Simon Binder 4562979d62
Better ability to resolve forward references 2019-06-23 22:14:50 +02:00
Simon Binder 62c20d0202
Add simple tests for reference resolution 2019-06-23 16:35:28 +02:00
Simon Binder 8b5539bb03
Start with reference resolution 2019-06-23 15:57:18 +02:00
Simon Binder 5d1046ba3a
Scaffold classes for type and reference analysis 2019-06-23 14:44:28 +02:00
Simon Binder b0649ee208
Parse group by statements 2019-06-23 13:37:30 +02:00
Simon Binder 8bbf6d8054
Parse function expressions 2019-06-23 13:04:05 +02:00
Simon Binder 1c75c9d3e8
Parse sql variables 2019-06-23 11:50:44 +02:00
Simon Binder b52dcf9a60
Test select statement parsing 2019-06-23 10:35:25 +02:00
Simon Binder 419c35695a
Merge branch 'delightful-queries' into develop 2019-06-22 22:38:31 +02:00
Simon Binder 5e6cabc816
Write some rudimentary api and docs for the parser 2019-06-22 22:35:34 +02:00
Simon Binder 99202f3df6
Parse the FROM part of a select statement 2019-06-22 22:04:06 +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 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 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 be5bcfd459
Parse "ORDER BY" clause 2019-06-18 14:49:30 +02:00
Simon Binder 1bc4bfc120
Simplify equality check, some more SELECT parsing 2019-06-17 22:33:28 +02:00
Simon Binder d125a844da
Start implementing SELECT statements for parser 2019-06-16 21:23:33 +02:00
Simon Binder b442d32a87
Parse simple expressions 2019-06-16 20:50:07 +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 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 7da3ef3d64
Integrate new sql parser library into CI 2019-06-15 23:03: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 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