Simon Binder
7ff91a620a
Some improvements related to generator error recovery
2020-07-07 23:01:02 +02:00
Simon Binder
ac20d9b324
Fix some pub warnings that appeared during publishing
2020-06-28 21:17:33 +02:00
Simon Binder
3a558c3d1d
Prepare moor 3.2, moor_ffi 0.7 release
2020-06-28 17:27:32 +02:00
Simon Binder
2897dd4ae0
Parse NULLS FIRST and NULLS LAST
2020-06-27 14:38:16 +02:00
Simon Binder
5136412573
Parse DEFERRABLE clauses on foreign key constraints
2020-06-27 14:26:09 +02:00
Simon Binder
211b6fa2e9
sqlparser: Support remaining sqlite keywords
2020-06-26 22:54:42 +02:00
Simon Binder
d5c6467e37
Finish documentation, remove unnecessary null hint
2020-06-24 17:11:41 +02:00
Simon Binder
ccea0a5d36
Don't throw parsing errors for top-level statements
2020-06-24 17:08:13 +02:00
Simon Binder
c342b29b33
Fix sqlparser crashes related to unknown tables
2020-06-19 13:43:16 +02:00
Simon Binder
5c9c175c85
Merge branch 'develop' of gh:simolus3/moor into develop
2020-06-17 23:00:56 +02:00
Markus Richter
85ac74f69f
add suggested test(s)
2020-06-17 21:22:03 +02:00
Markus Richter
f298a10636
Allow Backticks(`) for escaping identifiers
...
This is sqlite-conformant behaviour according to https://sqlite.org/lang_keywords.html .
2020-06-17 17:20:44 +02:00
Simon Binder
1e8a1de6c0
sqlparser: Add visit methods for Queryable subclasses
2020-06-16 14:25:31 +02:00
Simon Binder
5c6331e486
sqlparser: Make InsertSource an AstNode
2020-06-15 17:45:28 +02:00
Simon Binder
7ae3783473
sqlparser: Make TriggerTarget an ast node
2020-06-15 17:21:49 +02:00
Simon Binder
896d62d76c
Support nested CASE expressions ( #609 )
2020-06-02 12:05:02 +02:00
Simon Binder
fee32fc302
Start with transformers in sqlparser
2020-05-24 22:30:25 +02:00
Simon Binder
01e5a47189
Make utility visitor methods an extension
2020-05-24 19:53:36 +02:00
Simon Binder
e772ca0225
Support views in ReferencedTablesVisitor
2020-05-23 15:27:58 +02:00
Simon Binder
3db0fd57f1
Update changelog to include views in sqlparser
2020-05-22 17:33:34 +02:00
Simon Binder
8aca8db941
Merge branch 'views' of https://github.com/mqus/moor into mqus-views
...
# Conflicts:
# sqlparser/test/analysis/schema/from_create_table_test.dart
2020-05-22 17:29:04 +02:00
Simon Binder
5d93f9fcf9
Analysis support for custom result sets
2020-05-21 15:22:49 +02:00
Markus Richter
5596c30cc7
Support subquery expressions in types2 ( #583 )
2020-05-19 19:42:36 +02:00
Simon Binder
65f02cb22c
Prepare 3.1 release of moor, 0.6 or moor_ffi, 0.9 of sqlparser
2020-05-18 20:45:48 +02:00
Simon Binder
52fd09c041
Fix reading a column without datatype
2020-05-17 15:18:25 +02:00
Simon Binder
6b88385755
Rename test files to end with _test.dart
2020-05-16 19:49:00 +02:00
Simon Binder
a1304c537f
Formatting
2020-05-16 19:42:33 +02:00
Simon Binder
888e131d50
Report analysis error for view column mismatches
2020-05-16 19:36:56 +02:00
Simon Binder
58335958c0
Test selecting from a view
2020-05-16 19:29:11 +02:00
Simon Binder
46ba81b672
Interface for columns with type, resolve in ViewReader
2020-05-16 19:16:06 +02:00
Simon Binder
f7e7622b4c
Rename resultset.dart to result_set.dart, format parser test
2020-05-16 18:55:07 +02:00
Markus Richter
df6f6fafa2
Add NamedResultSet type, adress review issues
2020-05-16 13:50:30 +02:00
mqus
0bc2a7548d
Apply suggestions from code review
...
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2020-05-16 12:08:05 +02:00
Markus Richter
186153e585
Add parser test,advance analyzer,fix review issues
...
Also:
- Add toString method to Literal and alter the one on Reference to make debugging and analysing tests easier
- Add `@required` to columns in SelectStatement constructor to make it clear that it can't be null (required by childNodes getter)
2020-05-15 19:58:16 +02:00
Simon Binder
cf830165e1
Support enum converters for moor files, add documentation
2020-05-13 21:43:58 +02:00
Markus Richter
d86d7ab7e3
Parser is ready, work on analyzer was started.
2020-05-13 14:29:22 +02:00
Simon Binder
9841c960d1
Parse row values, warn on misuse
2020-05-06 21:08:47 +02:00
Simon Binder
8b6abd7140
Move referenced table finder to sqlparser package ( #537 )
2020-05-04 22:00:41 +02:00
Simon Binder
28a7451f1d
Merge pull request #536 from mqus/patch-1
...
Fix documentation source code issues
2020-05-04 12:16:53 +02:00
mqus
882b789c1b
Fix example source code issues
...
Just some typos
2020-05-03 22:29:30 +02:00
Simon Binder
bd250ee9e7
Support collate expression with new type inference ( #533 )
2020-05-03 21:13:29 +02:00
Simon Binder
0a30b8a12e
Upgrade integration tests, release sqlparser 0.8
2020-05-03 13:28:34 +02:00
Simon Binder
fc0b1f4388
Use package:charcode for sql scanning
2020-05-02 14:17:49 +02:00
Simon Binder
453ccbefdc
Support double-equals in types2
2020-04-19 13:43:42 +02:00
Simon Binder
6b2bd27d4d
Parse and analyze VALUES clause for selects
2020-04-16 22:41:21 +02:00
Simon Binder
c007e1f9ac
Sort token types and keywords
2020-04-16 21:14:51 +02:00
Simon Binder
9a78604d98
Fix issues with new inference, enable it by default
2020-04-16 19:07:30 +02:00
Simon Binder
af5333db3c
Support compound select statements in from
2020-04-07 15:37:35 +02:00
Simon Binder
dcb4c4b972
Resolve nested result sets in generator
2020-04-03 20:30:41 +02:00
Simon Binder
d5ad3c6d34
Parse nested star columns
2020-04-03 18:37:33 +02:00