Commit Graph

80 Commits

Author SHA1 Message Date
Hossein Yousefi c0fc691a94 view analyzer class added 2021-02-11 18:38:41 +01:00
Hossein Yousefi bf813cf67b added a test that fails 2021-02-10 22:47:39 +01:00
Hossein Yousefi c9269e13be added support for CREATE VIEW in .moor files 2021-02-10 16:23:51 +01:00
Simon Binder db72da0f07
Use new build apis to load results (#959) 2020-12-29 22:22:32 +01:00
Simon Binder 1655bcc69f
Recognize withoutRowId in Dart tables (#972) 2020-12-17 19:49:08 +01:00
Simon Binder 0dddd33c45
Add test for daos with invalid types (#967) 2020-12-12 20:34:01 +01:00
Gustav Bylund 4eba4e7070 feat: add support for documentation comments 2020-10-28 00:43:56 +01:00
Simon Binder e29fcf93f7
Publish moor 3.4, sqlparser 0.11 2020-10-22 14:17:54 +02:00
Simon Binder e4d985728a
Migrate to analyzer version 0.40 2020-10-16 19:25:10 +02:00
Simon Binder 3470d0485a
Add current_time_millis SQL function (#857) 2020-10-11 11:25:21 +02:00
Simon Binder e510be34a3
Warn when using default values outside of expressions 2020-08-30 14:05:28 +02:00
Simon Binder 02cd8f2b33
Add more analyzer tags to generator tests 2020-08-21 17:37:07 +02:00
Simon Binder a037de6621
Support rowid resolution outside of selects
This fixes #754
2020-08-10 10:46:33 +02:00
Simon Binder cd61c5ad16
Generator: Fix duplicate code generation for table imports (#447) 2020-08-06 16:49:58 +02:00
Simon Binder 6b43a57911
Warn when using both primaryKey and autoIncrement() 2020-07-21 19:43:43 +02:00
Simon Binder 834ca520b1
Lint for mismatching types in arithmetic expressions 2020-07-18 11:19:20 +02:00
Simon Binder c80235799c
moor_generator: Properly release analyzer during tests 2020-06-28 18:48:32 +02:00
Simon Binder 3923b815fd
Merge branch 'master' into develop
# Conflicts:
#	moor_generator/pubspec.yaml
2020-06-28 17:34:00 +02:00
Simon Binder ab4b1d75ff
Escape keywords in moor_generator tests 2020-06-27 13:06:29 +02:00
Simon Binder ee6e09699e
Error when using autoIncrement and primaryKey override 2020-06-04 20:50:43 +02:00
Simon Binder 8a98b42e62
Optimize row mapping when there is a matching table 2020-05-21 20:21:03 +02:00
Simon Binder 6c18eb22fa
Initial tests for custom result classes 2020-05-21 18:59:03 +02:00
Simon Binder 5d93f9fcf9
Analysis support for custom result sets 2020-05-21 15:22:49 +02:00
Simon Binder b5cc9b974d
Release update to pub 2020-05-18 22:07:19 +02:00
Simon Binder ba7fedb4c4
Fix generator tests that were failing due to a stronger assert 2020-05-17 20:26:21 +02:00
Simon Binder cf830165e1
Support enum converters for moor files, add documentation 2020-05-13 21:43:58 +02:00
Simon Binder 0f2ff8c97a
Implicitly create type converters for enums, Dart api (#478) 2020-05-12 21:47:11 +02:00
Simon Binder 9a78604d98
Fix issues with new inference, enable it by default 2020-04-16 19:07:30 +02:00
Simon Binder edc9029ece
Test linter behavior on nested columns 2020-04-04 13:01:40 +02:00
Simon Binder c692c56d43
Support primaryKey override with inheritance (#467) 2020-04-03 22:02:01 +02:00
Simon Binder dcb4c4b972
Resolve nested result sets in generator 2020-04-03 20:30:41 +02:00
Simon Binder 29eec7f784
Fix parser tests in moor_generator 2020-03-22 11:56:28 +01:00
Simon Binder 2da8577b01
Add failing test for #447 2020-03-18 13:09:18 +01:00
Simon Binder 5b675a811b
Don't consider rowid aliases required (#445) 2020-03-16 20:36:03 +01:00
Simon Binder b823f534c8
Write update kind for compiled update and delete queries 2020-03-04 21:28:08 +01:00
Simon Binder 799eba1c67
Verify update rule generation in generator, fix tests 2020-03-04 16:52:08 +01:00
Simon Binder 990755f170
Static analysis for moor_ffi functions 2020-02-19 12:25:40 +01:00
Simon Binder 814e7bf61d
SqlEngine: Migrate default construtor to options 2020-02-10 18:48:03 +01:00
Simon Binder de38761db9
Support type converters in moor files (#103) 2020-01-25 15:43:55 +01:00
Simon Binder 845d32471c
Add another missing analyzer tag to test 2020-01-23 17:16:14 +01:00
Simon Binder 40a34ac793
Add missing analyzer tag to cyclic_moor_dart_dependency 2020-01-21 10:27:30 +01:00
Simon Binder 8ae68707f8
Smarter many-to-one propagation in types2 2020-01-15 22:10:18 +01:00
Simon Binder debf8b30f4
Report error when import can't be resolved 2020-01-06 19:57:44 +01:00
Simon Binder b6b5e7f7c2
Fix analysis errors from deprecated engine constructor 2020-01-05 21:41:56 +01:00
Simon Binder 373ad320c4
Support @create-queries in moor files 2020-01-03 22:15:40 +01:00
Simon Binder 00c1d2a2e7
Migrator support for indexes, tests 2020-01-03 20:08:10 +01:00
Simon Binder 3ee05bf647
Respect tables in the body of a CREATE TRIGGER statement 2020-01-03 15:38:13 +01:00
Simon Binder cf6824af82
Analyze body of CREATE TRIGGER statements 2020-01-01 21:19:10 +01:00
Simon Binder a3697c6f38
Find references of a trigger 2019-12-31 15:07:08 +01:00
Simon Binder d2b70e69dc
Support explicit type arguments in moor_generator 2019-12-25 21:07:08 +01:00