mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-22 11:41:46 +00:00
Support multiple SET
variables (#1252)
This commit is contained in:
parent
c4f3ef9600
commit
eb36bd7138
10 changed files with 145 additions and 33 deletions
|
@ -217,6 +217,15 @@ pub trait Dialect: Debug + Any {
|
|||
fn supports_lambda_functions(&self) -> bool {
|
||||
false
|
||||
}
|
||||
/// Returns true if the dialect supports multiple variable assignment
|
||||
/// using parentheses in a `SET` variable declaration.
|
||||
///
|
||||
/// ```sql
|
||||
/// SET (variable[, ...]) = (expression[, ...]);
|
||||
/// ```
|
||||
fn supports_parenthesized_set_variables(&self) -> bool {
|
||||
false
|
||||
}
|
||||
/// Returns true if the dialect has a CONVERT function which accepts a type first
|
||||
/// and an expression second, e.g. `CONVERT(varchar, 1)`
|
||||
fn convert_type_before_value(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue