Commit Graph

180 Commits

Author SHA1 Message Date
Simon Binder c844c86af4
Support signed numbers as a default value 2021-12-01 21:07:47 +01: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 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 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 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 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 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 1de5479d60
Add explicit aliases with new codegen 2021-05-04 21:00:28 +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 1ff10f47c2
Remove part files of parser 2021-01-18 11:15:31 +01:00
Simon Binder b8eed2f75b
Make order by placeholders optional (#998) 2021-01-08 22:30:17 +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 71e5c4941e
Support comparing types with different names 2020-10-23 19:22:30 +02:00
Simon Binder 732369c25c
sqlparser: Give CASE a higher precedence 2020-10-22 13:30:43 +02:00
Simon Binder fac99e1d6b
Run CI with Dart 2.10 2020-10-02 18:43:27 +02:00
Simon Binder 2ae2388878
Support default values for Dart placeholders (#753) 2020-08-30 13:48:47 +02:00
Simon Binder c2ce934361
Apply type converters on variables (#730) 2020-07-23 17:30:26 +02:00
Simon Binder 640cae1244
Scan [identifiers] in sql queries (#724) 2020-07-22 10:43:44 +02:00
Simon Binder cb7c36d63b
sqlparser: Improve numeric token parsing 2020-07-18 11:01:04 +02:00
Simon Binder 74caeced85
Fix typo in parsing error message 2020-07-12 17:59:24 +02:00
Simon Binder 7ff91a620a
Some improvements related to generator error recovery 2020-07-07 23:01:02 +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 5c9c175c85
Merge branch 'develop' of gh:simolus3/moor into develop 2020-06-17 23:00:56 +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 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