mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-16 20:20:15 +00:00
Parse true and false as identifiers in mssql (#1510)
This commit is contained in:
parent
90824486df
commit
3a8369aaf5
6 changed files with 97 additions and 60 deletions
|
@ -57,4 +57,9 @@ impl Dialect for MsSqlDialect {
|
|||
fn supports_try_convert(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
/// In MSSQL, there is no boolean type, and `true` and `false` are valid column names
|
||||
fn supports_boolean_literals(&self) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue