We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa4c2b6 commit 06a8680Copy full SHA for 06a8680
sqlx-core/src/odbc/types/bool.rs
@@ -12,7 +12,11 @@ impl Type<Odbc> for bool {
12
fn compatible(ty: &OdbcTypeInfo) -> bool {
13
matches!(
14
ty.data_type(),
15
- DataType::Bit | DataType::TinyInt | DataType::SmallInt | DataType::Integer
+ DataType::Bit
16
+ | DataType::TinyInt
17
+ | DataType::SmallInt
18
+ | DataType::Integer
19
+ | DataType::BigInt
20
) || ty.data_type().accepts_character_data() // Allow parsing from strings
21
}
22
0 commit comments