Commit graph

22 commits

Author SHA1 Message Date
Michael Victor Zink
4fdf5e1b30
Fix MySQL parsing of GRANT, REVOKE, and CREATE VIEW (#1538) 2025-01-10 00:31:06 +01:00
Yoav Cohen
8cfc46277f
Add support for MySQL's INSERT INTO ... SET syntax (#1641) 2025-01-06 20:13:38 +01:00
Jax Liu
d0d4153137
Fix the parsing result for the special double number (#1621) 2024-12-28 14:16:30 +01:00
wugeer
2bb81444bd
Add support for MYSQL's CREATE TABLE SELECT expr (#1515) 2024-11-13 12:36:13 -05:00
Joshua Warner
1e0460a7df
Expand handling of LIMIT 1, 2 handling to include sqlite (#1447) 2024-09-30 13:40:07 -04:00
Andrew Lamb
9934f3d931
Update to ASF header / add when missing (#1437) 2024-09-21 06:23:28 -04:00
Samuel Colvin
aa714e3447
Fix INTERVAL parsing to support expressions and units via dialect (#1398) 2024-09-06 10:16:09 -04:00
groobyming
5ea9c01bb2
Extended dialect triat to support numeric prefixed identifiers (#1188)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2024-05-03 14:20:12 -04:00
Ifeanyi Ubah
d2c2b15f9e
Add support for quoted string backslash escaping (#1177) 2024-04-21 09:07:56 -04:00
Michiel De Backker
929c646bba
Add identifier quote style to Dialect trait (#1170) 2024-03-11 16:27:25 -04:00
Joey Hain
398a81029e
Support for unquoted hyphenated identifiers on bigquery (#1109) 2024-01-23 20:04:22 -05:00
zzzdong
d0fce121ef
feat(mysql): Increased compatibility for MySQL (#1059)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-12-19 15:38:52 -05:00
Andrew Lamb
6739d377bd
Add docstrings for Dialects, update README (#1016) 2023-10-23 18:09:02 -04:00
eitsupi
097e7ad56e
feat: Support MySQL's DIV operator (#876)
* feat: MySQL's DIV operator

* fix: do not use `_` prefix for used variable

---------

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
2023-05-17 13:26:14 -04:00
Andrew Lamb
5ecf633e31
Add dialect_from_str and improve Dialect documentation (#848)
* Add `dialect_from_str` and improve `Dialect` documentation

* cleanup

* fix compilation with nostd
2023-04-27 11:37:11 -04:00
AviRaboah
3e92ad349f
Support identifiers beginning with digits in MySQL (#856) 2023-04-26 09:27:04 -04:00
Maciej Skrzypkowski
a1b7341b87
Non-Latin characters support (#840)
* Non latin characters

---------

Co-authored-by: Maciej Skrzypkowski <maciej.skrzypkowski@satoricyber.com>

* Test for mysql

---------

Co-authored-by: Maciej Skrzypkowski <maciej.skrzypkowski@satoricyber.com>
2023-03-23 07:07:17 -04:00
sam
a8a8e65b7c
PostgreSQL: GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY and GENERATED ALWAYS AS ( generation_expr ) support (#832)
* GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY [ ( sequence_options ) basic impl - test are failing.

* PostgreSQL GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY [ ( sequence_options ) and GENERATED ALWAYS AS ( generation_expr ) STORED implementation.
2023-03-16 05:54:00 -04:00
Dmitry Patsura
6d8aacd85b
feat: Support expression in SET statement (#574)
Co-authored-by: Alex Vasilev <vaspiring@gmail.com>
2022-08-18 13:29:55 -04:00
joshwd36
17f8eb9c5a
Fix clippy lints (#287) 2021-01-07 18:30:12 +01:00
mz
9e7e30282e
Support identifiers quoted with backticks in the MySQL dialect (#247)
Per https://dev.mysql.com/doc/refman/8.0/en/identifiers.html
MySQL historically supports `identifiers quoted in backticks`
in addition to the ANSI "quoting style" (assuming ANSI_QUOTES mode).
2020-07-30 04:22:29 +03:00
Brandon W Maister
f64928e994
Support MySQL SHOW COLUMNS statement
Co-authored-by: Nikhil Benesch <nikhil.benesch@gmail.com>
2019-08-14 15:13:05 -04:00