mirror of
https://github.com/OMGeeky/google_bigquery_v2.git
synced 2025-12-27 06:29:38 +01:00
ConvertTypeToBigQueryType for Option<T>
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user