Commit Graph

375 Commits

Author SHA1 Message Date
westito 2b4bcc9864 Add BigInt support 2022-05-11 18:51:45 +02:00
Simon Binder 98163103d5
Lint for distinct aggregate with more than one arg 2022-05-08 09:05:23 +02:00
Daniel Brauner 5380a18450 Minor bug fixes 2022-04-06 20:14:13 +02:00
Simon Binder 645489a21c
Fix resolving parameters to `MAX`/`MIN` (#1790) 2022-04-05 20:50:18 +02:00
Simon Binder 75c0423b42
More moor -> drift renaming in `sqlparser` 2022-03-13 15:46:24 +01:00
Simon Binder 5def49b1fa
Fix doc references in sqlparser 2022-03-08 15:57:37 +01:00
Simon Binder c9e22bf8d2
Parse non-window aggregate expressions 2022-03-08 10:58:40 +01:00
Simon Binder 9c80fb047b
Fix nullability propagation for type analysis 2022-03-02 16:06:30 +01:00
Simon Binder 9ec7465fca
Migrate rest of `drift_dev` to null safety 2022-02-26 22:20:17 +01:00
Simon Binder 93d328f056
Rename `moor` to `drift` in `sqlparser` 2022-02-26 21:38:28 +01:00
Simon Binder 6bb870458f
Analysis for sqlite 3.38 2022-02-23 22:06:42 +01:00
Simon Binder 518fdce2e9
Add parentheses around conflict target (#1704) 2022-02-21 18:43:48 +01:00
Simon Binder 33e3610fea
Fix analysis warnings added in Dart 2.16 2022-02-08 20:59:59 +01:00
Simon Binder 36815c0b88
Merge pull request #1638 from LeFrosch/develop
Support for nested queries like (#1634)
2022-01-31 13:21:24 +01:00
Simon Binder 1d1d0c783a
Fix CI test failures 2022-01-29 21:50:33 +01:00
Simon Binder 3d0a29fe77
Remove uncessary space 2022-01-28 22:04:24 +01:00
Simon Binder 6b6cd30a0c
Move nested query analysis to drift_dev 2022-01-28 21:55:03 +01:00
Simon Binder 45af68851d
More lints for trigger bodies (#1656) 2022-01-26 22:03:40 +01:00
Simon Binder 130517473b
Accept any type name for strict drift tables 2022-01-25 13:21:40 +01:00
Daniel Brauner d7c4945d72 Fixed analyze errors 2022-01-24 18:42:47 +01:00
Simon Binder aa38ab42f2
More lenient `strict` column type handling 2022-01-24 17:49:10 +01:00
Daniel Brauner 7129468928 Fix not resolved columns bug 2022-01-23 17:53:16 +01:00
Daniel Brauner a9fd12e565 Fixed 0 workaround 2022-01-23 17:08:32 +01:00
Daniel Brauner e50ce8a8f7 Add linter for double nested queries and bug fixes 2022-01-20 20:21:06 +01:00
Daniel Brauner b5acbbf374 Bug fixes and support for dart placeholder 2022-01-20 12:08:39 +01:00
Daniel Brauner d74860ec49 Add support for nested query variables 2022-01-18 22:21:54 +01:00
Daniel Brauner 23de4c5cee Add code generation for nested result queries 2022-01-17 22:19:31 +01:00
Daniel Brauner ca8482be71 add LIST parsing to the sqlparser 2022-01-17 15:43:36 +01:00
Daniel Brauner 0e331933af Add rename support for nested star columns 2022-01-17 10:21:06 +01:00
Simon Binder bdf0dc9985
Make group_concat nullable 2021-12-29 11:36:23 +01:00
Simon Binder 19bd92bfd9
Remove redundant imports 2021-12-09 14:10:51 +01:00
Simon Binder 44281bebaf
Support for STRICT tables in drift files 2021-12-03 22:11:44 +01:00
Simon Binder 6b5acdf3c6
Revise parser support for strict tables 2021-12-03 21:30:36 +01:00
Peter Leibiger ab20d69846 Fix broken iterable comparison in sqlparser
* this results in false positive migration tests, not sure what else could be effected
2021-12-02 13:10:53 +01:00
Simon Binder c844c86af4
Support signed numbers as a default value 2021-12-01 21:07:47 +01:00
boyan b5d32ee21a fix unknown function cause crash 2021-11-26 13:08:26 +08:00
westito fad654a5aa
PostgreSQL support (#1507)
Support PostgreSQL as a dialect in the main package and with an implementation provided in another package.

Co-authored-by: Simon Binder <oss@simonbinder.eu>
2021-11-11 14:40:41 +01:00
Simon Binder f2d0864890
Support generated columns in the parser 2021-11-07 22:10:08 +01:00
Simon Binder c83b630514
Fix type inference around RETURNING 2021-09-30 18:19:00 +02:00
Simon Binder f42357c1d9
Fix error message in fts5 functions 2021-09-11 16:53:32 +02:00
Simon Binder 07cba75ea8
Parse transaction blocks 2021-09-09 18:05:03 +02:00
Simon Binder cc6d553fa6
Format with Dart 2.14 2021-09-09 17:07:41 +02:00
Simon Binder 16bc11540b
Introduce single visitor method for moor-specific nodes 2021-09-08 23:20:45 +02:00
Simon Binder 3be320d0c5
Parse BEGIN and COMMIT statements 2021-09-08 22:53:57 +02:00
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 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