Commit Graph

125 Commits

Author SHA1 Message Date
Simon Binder 387a21c580
Relax constraints on element order in drift files 2022-12-03 00:06:05 +01:00
Simon Binder 8f6878292a
Migrate to `package:lints` 2022-08-13 23:33:05 +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 da212944ff
Replace old website and repository links 2022-03-13 15:52:15 +01:00
Simon Binder c9e22bf8d2
Parse non-window aggregate expressions 2022-03-08 10:58:40 +01:00
Simon Binder 93d328f056
Rename `moor` to `drift` in `sqlparser` 2022-02-26 21:38:28 +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 19bd92bfd9
Remove redundant imports 2021-12-09 14:10:51 +01:00
Simon Binder c844c86af4
Support signed numbers as a default value 2021-12-01 21:07:47 +01:00
Simon Binder f2d0864890
Support generated columns in the parser 2021-11-07 22:10:08 +01:00
Simon Binder 40bc3a17bb
Organize imports 2021-09-10 11:43:21 +02:00
Simon Binder 07cba75ea8
Parse transaction blocks 2021-09-09 18:05:03 +02:00
Simon Binder 3be320d0c5
Parse BEGIN and COMMIT statements 2021-09-08 22:53:57 +02:00
Simon Binder 074b663b79
Parse "STRICT" table definitions 2021-08-28 16:32:00 +02:00
Simon Binder aa75cbaa19
Prepare parser for schema support 2021-07-22 21:32:53 +02:00
Simon Binder 6988d79f09
Fix tests 2021-06-15 22:38:36 +02:00
Simon Binder 0775c093e3
Initial support for custom data classes for views 2021-06-10 21:54:57 +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 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 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 602212f99d
Support REQUIRED annotation for query vars 2021-04-13 22:14:12 +02: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 b110773053
Support MATERIALIZED / NOT MATERIALIZED 2021-03-13 14:00:06 +01:00
Simon Binder 3000cb2e44
Parse FROM clauses for update statements 2021-03-13 12:02:35 +01:00
Hossein Yousefi c0fc691a94 view analyzer class added 2021-02-11 18:38:41 +01:00
Simon Binder 5ff74c7bcb
Improve table analysis, parse key ordering (#1007) 2021-01-18 14:44:05 +01:00
Simon Binder fa0cda6ffe
Add regression test for #978 2020-12-19 17:34:32 +01:00
Simon Binder 6aa022e547
Add nullability hints, generate nullable variables 2020-12-14 18:35:19 +01:00
Simon Binder 9025280a89
Migrate sqlparser to null safety 2020-12-11 10:53:17 +01:00
Simon Binder 0c075a2b44
Support overriding column getters and table classes (#932) 2020-11-23 20:01:31 +01:00
Simon Binder 1d7479226a
Parse NULL column constraints to fix parsing errors (#909) 2020-11-07 12:32:45 +01:00
Simon Binder 732369c25c
sqlparser: Give CASE a higher precedence 2020-10-22 13:30:43 +02:00
Simon Binder 2ae2388878
Support default values for Dart placeholders (#753) 2020-08-30 13:48:47 +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 ccea0a5d36
Don't throw parsing errors for top-level statements 2020-06-24 17:08:13 +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 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
Simon Binder f7e7622b4c
Rename resultset.dart to result_set.dart, format parser test 2020-05-16 18:55:07 +02:00