Fix: Cannot query Postgres INTERVAL[] (#3566)

* fix(sqlx-postgres): macro could not understand pg interval array type

* refactor(sqlx-postgres): move pg interval array types closer to other array types
This commit is contained in:
Oleksandr Babak 2024-10-28 22:59:41 +01:00 committed by GitHub
parent 3fb00e1403
commit eac4b7aff7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,6 +97,7 @@ impl_type_checking!(
Vec<f64> | &[f64],
Vec<sqlx::postgres::types::Oid> | &[sqlx::postgres::types::Oid],
Vec<sqlx::postgres::types::PgMoney> | &[sqlx::postgres::types::PgMoney],
Vec<sqlx::postgres::types::PgInterval> | &[sqlx::postgres::types::PgInterval],
#[cfg(feature = "uuid")]
Vec<sqlx::types::Uuid> | &[sqlx::types::Uuid],