mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-06 02:13:48 +00:00
macros + sqlite: fix error for null-typed columns
This commit is contained in:
committed by
Ryan Leckey
parent
2a76123bc3
commit
8328e07c97
@@ -66,6 +66,10 @@ impl TypeInfo for SqliteTypeInfo {
|
||||
fn compatible(&self, other: &Self) -> bool {
|
||||
self.affinity == other.affinity
|
||||
}
|
||||
|
||||
fn is_null_type(&self) -> bool {
|
||||
self.r#type == SqliteType::Null
|
||||
}
|
||||
}
|
||||
|
||||
impl<'de, T> Decode<'de, Sqlite> for Option<T>
|
||||
|
||||
Reference in New Issue
Block a user