ConvertTypeToBigQueryType for Option<T>

This commit is contained in:
OMGeeky
2023-04-14 15:48:35 +02:00
parent a2ff9c1289
commit 1892593be3

View File

@@ -61,3 +61,9 @@ where
"DATETIME".to_string()
}
}
impl<T: ConvertTypeToBigQueryType + Debug> ConvertTypeToBigQueryType for Option<T> {
fn convert_type_to_bigquery_type() -> String {
T::convert_type_to_bigquery_type()
}
}