Commit Graph

381 Commits

Author SHA1 Message Date
Simon Binder b9c609a5f2
Analysis support around strict tables 2021-08-28 17:40:21 +02:00
Simon Binder 074b663b79
Parse "STRICT" table definitions 2021-08-28 16:32:00 +02:00
Simon Binder 59e6df76a3
Prepare 4.5.0 release 2021-08-20 18:58:15 +02:00
Simon Binder 33fd36df80
Fix nullability analysis for COALESCE and IFNULL 2021-07-26 20:39:59 +02:00
Simon Binder 3bf91ed6c3
Fix _encapsulate nullability for null literals 2021-07-26 18:56:22 +02:00
Simon Binder aa75cbaa19
Prepare parser for schema support 2021-07-22 21:32:53 +02:00
Simon Binder ed338f2fb0
Fix token range for postfix expressions 2021-07-22 12:06:50 +02:00
Simon Binder f3e3801909
Migrate builders to null safety 2021-07-18 22:54:55 +02:00
Simon Binder c12de0b8a9
Fix nullability analysis of references 2021-07-07 21:25:57 +02:00
Simon Binder ab79ec1e88
Prepare 4.4.0 release 2021-07-03 13:36:43 +02:00
Simon Binder 8a529b3821
Support latest sqlite in parser, update changelog 2021-06-30 22:30:56 +02:00
Simon Binder 6988d79f09
Fix tests 2021-06-15 22:38:36 +02:00
Simon Binder 8b3cafedbd
Consider views in result set analysis 2021-06-15 21:42:30 +02:00
Simon Binder 0775c093e3
Initial support for custom data classes for views 2021-06-10 21:54:57 +02:00
Simon Binder e87e4d7a7a
Add tests for available tables to sqlparser 2021-06-04 17:48:22 +02:00
Simon Binder 5d7cb7dbba
Fix nullability of unqualified star columns 2021-06-03 13:12:30 +02:00
Simon Binder a9efe7f371
Add test to parse required without name 2021-06-01 21:41:41 +02:00
Simon Binder e1d633526b
Refactor custom table information in sqlparser 2021-05-25 18:46:10 +02:00
Simon Binder 61cb03ad35
Warning when star column is used without table 2021-05-24 12:45:18 +02:00
Simon Binder a46cc07ed4
Refactor column resolver in sqlparser
Fixes #1208
2021-05-21 17:47:14 +02:00
Simon Binder 8f3a976d6e
Fix CI on Dart 2.13 2021-05-18 22:19:57 +02:00
Simon Binder 371e744288
Prepare to release 4.3.0 2021-05-15 17:23:29 +02:00
Simon Binder 0d8741a7b4
Fix nullability in encapsulate 2021-05-13 11:59:01 +02:00
Simon Binder bc2a2b4d61
Support existing data classes for moor tables 2021-05-11 22:01:51 +02:00
Simon Binder 258512e044
Support dart placeholders for inserts 2021-05-06 22:35:57 +02:00
Simon Binder 0e4541a987
Generate non-nullable nested result sets 2021-05-06 17:20:13 +02:00
Simon Binder b6a2fcd603
Copy list in transformChildren 2021-05-05 19:46:13 +02:00
Simon Binder 1de5479d60
Add explicit aliases with new codegen 2021-05-04 21:00:28 +02:00
Simon Binder adb27d056b
Start phasing out SqlTypeSystem 2021-04-25 16:14:33 +02:00
Simon Binder 17f43bc9fc
Parse RAISE expressions (#1154) 2021-04-21 20:29:50 +02:00
Simon Binder 67f7e269e0
Lift parser.dart out of singleton dir 2021-04-21 19:59:18 +02:00
Simon Binder fd18984cae
Fix formatting issues in CI 2021-04-13 22:30:19 +02:00
Simon Binder 602212f99d
Support REQUIRED annotation for query vars 2021-04-13 22:14:12 +02:00
Simon Binder 1e962312ca
Improve UX when importing part files (#1136) 2021-04-11 19:56:13 +02:00
Simon Binder 10266ed7a6
Remove moor-specific nodes from ast megalib 2021-04-11 16:43:35 +02:00
Simon Binder 9b6b5d1b69
Make rowid aliases non-nullable (#1128) 2021-04-02 21:54:31 +02:00
Simon Binder eb39738460
Initial support for RETURNING in the generator 2021-03-30 23:24:28 +02:00
Simon Binder 5ac0582280
Properly resolve RETURNING columns 2021-03-30 11:03:12 +02:00
Simon Binder 0842a47d31
Two more lints for RETURNING clauses 2021-03-30 10:30:24 +02:00
Simon Binder 5ce5a48cff
Prefer a space after a closing ) in functions 2021-03-23 19:31:55 +01:00
Simon Binder f76044989e
Adopt minimum SDK version, fix docs on mobile 2021-03-19 20:35:08 +01:00
Simon Binder bdf7d22776
Bump versions of moor, moor_generator and sqlparser 2021-03-18 16:25:00 +01:00
Simon Binder 7c911713de
Two more analysis errors around RETURNING 2021-03-13 22:25:39 +01:00
Simon Binder ab75b764f2
Resolve columns of a returning clause 2021-03-13 21:50:35 +01:00
Simon Binder af5491e15f
Warn when RETURNING is used on an unsupported version 2021-03-13 20:56:53 +01:00
Simon Binder b9b7f407c9
Parse RETURNING clauses 2021-03-13 20:41:14 +01:00
Simon Binder 687263dd66
Analysis support for generalized upserts 2021-03-13 16:07:12 +01:00
Simon Binder c9f8af346d
Parse more than ON CONFLICT clause 2021-03-13 15:21:27 +01:00
Simon Binder 3cf3be27ae
sqlparser: Support the built-in math extension 2021-03-13 14:37:44 +01:00
Simon Binder b110773053
Support MATERIALIZED / NOT MATERIALIZED 2021-03-13 14:00:06 +01:00