Parse true and false as identifiers in mssql (#1510)

This commit is contained in:
Ophir LOJKINE 2024-11-13 11:25:26 +01:00 committed by GitHub
parent 90824486df
commit 3a8369aaf5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 97 additions and 60 deletions

View file

@ -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
}
}