Commit Graph

536 Commits

Author SHA1 Message Date
Simon Binder e2265eb597
Add `DriftAny` type to wrap `ANY` in strit tables 2022-12-18 18:55:17 +01:00
Simon Binder b6cff50135
Parse custom constraints applied to columns 2022-12-11 00:06:45 +01:00
Simon Binder 387a21c580
Relax constraints on element order in drift files 2022-12-03 00:06:05 +01:00
Simon Binder 1a51dbf4d6
Static analysis support for custom functions 2022-12-02 23:34:42 +01:00
ValentinVignal 3cfa69c9d9
:sparkles Add ENUMNAME type 2022-12-01 00:40:13 +08:00
Simon Binder a837e51fda
Prepare pubspecs for new release 2022-11-27 17:05:16 +01:00
Simon Binder fe3566429f
Migrate more analyzer tests 2022-10-30 19:41:59 +01:00
Simon Binder 292dd9946d
Port more tests over to new analyzer 2022-10-29 17:30:18 +02:00
Simon Binder 49470e8361
Support serializing fts5 tablesi n new analyzer 2022-10-29 14:39:28 +02:00
Simon Binder 81679b8ff1
Fix formatting some Dart placeholders 2022-10-23 18:13:40 +02:00
Simon Binder 3dddbaf467
Merge branch 'develop' into modular-generation 2022-10-10 23:45:48 +02:00
Simon Binder 808f582b08
Release sqlparser and drift_dev 2022-10-06 22:56:25 +02:00
Brett Lindsay 6337d8e74f
Fix typo in error message for references (#2085) 2022-09-28 22:26:51 +02:00
Simon Binder 090a0053f1
Merge branch 'develop' into modular-generation 2022-09-16 20:03:17 +02:00
Fabian Freund cd89379627
Static analysis support for spellfix1 (#2013) 2022-09-16 16:02:39 +02:00
Simon Binder e08ccdbcda
New analyzer: Support analyzing drift views 2022-09-12 21:57:19 +02:00
Simon Binder aa5cb69799
Support indices in new analyzer 2022-09-10 23:22:39 +02:00
Simon Binder ee66465d47
Avoid leading underscores for local identifiers 2022-08-31 00:59:19 +02:00
Simon Binder ce35a27069
Prepare 2.1.0 release 2022-08-29 22:27:35 +02:00
Fabian Freund d5fac6da07 clean fts option strings; rowid fallback; 2022-08-25 20:38:14 +03:00
Simon Binder 8d540b47f5
Hide fts5 rowid, make table type public 2022-08-25 18:13:06 +02:00
Fabian Freund 986f7d24a5 expose rowid when ft5 with content table 2022-08-25 17:21:05 +03:00
Fabian Freund 72dc6707ee test argument validation 2022-08-24 17:35:51 +03:00
Simon Binder add52f2aaf
Add changelog entry and documentation 2022-08-24 09:23:31 +02:00
Fabian Freund 135433a692
Merge branch 'simolus3:develop' into rtree 2022-08-23 16:40:53 +03:00
Fabian Freund fe426e68b9 fixed typo 2022-08-23 16:35:14 +03:00
Fabian Freund d1e623a0c6 added rtree support 2022-08-23 16:33:23 +03:00
Simon Binder 33c13e2422
Fix resolving around subqueries in FROM (#2010) 2022-08-22 23:21:54 +02:00
Fabian Freund 3848dd528e added tests for fts5vocab module 2022-08-22 17:32:57 +03:00
Fabian Freund 0fd6657cd6 added fts5vocab module 2022-08-22 17:32:46 +03:00
Simon Binder a12a2b8086
Prepare minor release 2022-08-21 13:47:00 +02:00
Simon Binder 70b18550d9
Fix tokenizer crash around `@` or `$` tokens 2022-08-20 15:59:44 +02:00
Simon Binder 8f6878292a
Migrate to `package:lints` 2022-08-13 23:33:05 +02:00
Simon Binder b66fb13407
Prepare drift 2.0 release 2022-08-13 21:55:22 +02:00
Simon Binder 6c0e27b24c
SQL analysis for text datetimes 2022-07-24 19:19:18 +02:00
Simon Binder c9bd7236c6
Resolve `unixepoch` SQL function as datetime 2022-06-16 18:29:13 +02:00
Simon Binder 9af708773c
Prepare 1.7.0 release 2022-06-07 14:39:45 +02:00
Simon Binder 6a6d1268c4
Fix sum type inference (#1871) 2022-05-30 17:13:12 +02:00
Simon Binder 645f954a9b
More tests for new join operators 2022-05-26 23:35:05 +02:00
Simon Binder a6b7bf9aaa
Version check for new joins 2022-05-26 23:29:58 +02:00
Simon Binder 098fcc2d1b
Parse new join kinds from sqlite 3.39 2022-05-26 23:23:02 +02:00
Simon Binder d330c9b001
sqlparser: Support new syntax for `IS` expressions 2022-05-26 22:24:41 +02:00
Simon Binder 6ee4fd8153
Two more tests on scopes 2022-05-26 21:21:54 +02:00
Simon Binder bd7df51579
Fix remaining tests 2022-05-26 20:35:53 +02:00
Simon Binder e503bc68a5
New implementation for reference scopes 2022-05-25 23:32:15 +02:00
Simon Binder be9577727a
Expand documentation comments a bit 2022-05-15 22:20:29 +02:00
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 3c75fbee9d New test cases 2022-04-06 22:07:28 +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 c6edcdf3e8
Prepare drift 1.5.0 release 2022-03-13 15:54:45 +01:00
Simon Binder da212944ff
Replace old website and repository links 2022-03-13 15:52:15 +01: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 f5c9670729
Prepare 0.20.1 release of `sqlparser` 2022-02-21 20:50:50 +01:00
Simon Binder 518fdce2e9
Add parentheses around conflict target (#1704) 2022-02-21 18:43:48 +01:00
Simon Binder 661227c4c3
Prepare release 2022-02-09 16:23:43 +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 8c6302ad28
Release sqlparser 0.19.2 2022-01-25 14:51:47 +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 ddede9a8e2
Raise version in sqlparser pubspec 2021-12-30 19:33:12 +01:00
Simon Binder e7580ca912
Prepare 1.2.0 release 2021-12-30 17:28:56 +01:00
Simon Binder bdf0dc9985
Make group_concat nullable 2021-12-29 11:36:23 +01:00
Simon Binder c4e2600944
Merge branch 'master' into develop 2021-12-11 13:21:49 +01:00
Simon Binder bf0dcfb693
Prepare drift 1.1 release 2021-12-11 13:17:37 +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
Simon Binder 877a349522
Prepare sqlparser release 2021-12-02 13:15:20 +01:00
Peter Leibiger bd13d3bc75
Fix broken iterable comparison in sqlparser
* this results in false positive migration tests, not sure what else could be effected
2021-12-02 13:13: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 c2bd6f27a5
Prepare a round of releases 2021-10-11 15:55:01 +02:00
Simon Binder c83b630514
Fix type inference around RETURNING 2021-09-30 18:19:00 +02:00
Simon Binder 9fffebbae6
Support filters for all aggregate expressions 2021-09-16 21:23:07 +02:00
Simon Binder f42357c1d9
Fix error message in fts5 functions 2021-09-11 16:53:32 +02:00