impl sqlx::postgres::PgHasArrayType for Snowflake
This commit is contained in:
parent
a8b747f1ef
commit
a561b61321
|
@ -102,6 +102,13 @@ impl sqlx::Type<sqlx::Postgres> for Snowflake {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "sqlx")]
|
||||
impl sqlx::postgres::PgHasArrayType for Snowflake {
|
||||
fn array_type_info() -> sqlx::postgres::PgTypeInfo {
|
||||
<Vec<String> as sqlx::Type<sqlx::Postgres>>::type_info()
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "sqlx")]
|
||||
impl<'q> sqlx::Encode<'q, sqlx::Postgres> for Snowflake {
|
||||
fn encode_by_ref(
|
||||
|
|
Loading…
Reference in New Issue