Support "with" identifiers surrounded by backticks in GenericDialect (#1010)

This commit is contained in:
Chris A 2023-10-24 05:33:51 -05:00 committed by GitHub
parent 57090537f0
commit 9832adb376
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 8 deletions

View file

@ -95,7 +95,7 @@ pub trait Dialect: Debug + Any {
/// MySQL, MS SQL, and sqlite). You can accept one of characters listed
/// in `Word::matching_end_quote` here
fn is_delimited_identifier_start(&self, ch: char) -> bool {
ch == '"'
ch == '"' || ch == '`'
}
/// Determine if quoted characters are proper for identifier
fn is_proper_identifier_inside_quotes(&self, mut _chars: Peekable<Chars<'_>>) -> bool {