Skip to content

Commit

Permalink
Fix: Cannot query Postgres INTERVAL[] (#3566)
Browse files Browse the repository at this point in the history
* fix(sqlx-postgres): macro could not understand pg interval array type

* refactor(sqlx-postgres): move pg interval array types closer to other array types
  • Loading branch information
Ddystopia authored Oct 28, 2024
1 parent 3fb00e1 commit eac4b7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sqlx-postgres/src/type_checking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit eac4b7a

Please sign in to comment.