Support create index with clause (#1389)

Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
This commit is contained in:
张林伟 2024-09-01 19:38:20 +08:00 committed by GitHub
parent d64beea4d4
commit 4d52ee7280
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 92 additions and 0 deletions

View file

@ -509,6 +509,12 @@ pub trait Dialect: Debug + Any {
fn allow_extract_single_quotes(&self) -> bool {
false
}
/// Does the dialect support with clause in create index statement?
/// e.g. `CREATE INDEX idx ON t WITH (key = value, key2)`
fn supports_create_index_with_clause(&self) -> bool {
false
}
}
/// This represents the operators for which precedence must be defined