Skip to content

Commit

Permalink
Added support for PgMoney type in sqlx macros
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsiddhant05 authored and mehcode committed May 21, 2021
1 parent db09cb6 commit 012478d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sqlx-macros/src/database/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ impl_database_ext! {

sqlx::postgres::types::PgInterval,

sqlx::postgres::types::PgMoney,

#[cfg(feature = "uuid")]
sqlx::types::Uuid,

Expand Down Expand Up @@ -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],
Expand Down

0 comments on commit 012478d

Please sign in to comment.