Added support for PgMoney type in sqlx macros

This commit is contained in:
Siddhant 2021-05-10 15:18:25 +07:00 committed by Ryan Leckey
parent db09cb61e5
commit 012478d8b7

View file

@ -16,6 +16,8 @@ impl_database_ext! {
sqlx::postgres::types::PgInterval,
sqlx::postgres::types::PgMoney,
#[cfg(feature = "uuid")]
sqlx::types::Uuid,
@ -76,6 +78,7 @@ impl_database_ext! {
Vec<i64> | &[i64],
Vec<f32> | &[f32],
Vec<f64> | &[f64],
Vec<sqlx::postgres::types::PgMoney> | &[sqlx::postgres::types::PgMoney],
#[cfg(feature = "uuid")]
Vec<sqlx::types::Uuid> | &[sqlx::types::Uuid],