Skip to content

Commit

Permalink
Enable support for Vec<DateTime<Utc>>
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcd authored and abonander committed Oct 19, 2020
1 parent 144dcce commit 4bfd7a5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sqlx-macros/src/database/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@ impl_database_ext! {
#[cfg(feature = "chrono")]
Vec<sqlx::types::chrono::NaiveDateTime> | &[sqlx::types::chrono::NaiveDateTime],

// TODO
// #[cfg(feature = "chrono")]
// Vec<sqlx::types::chrono::DateTime<sqlx::types::chrono::Utc>> | &[sqlx::types::chrono::DateTime<_>],
#[cfg(feature = "chrono")]
Vec<sqlx::types::chrono::DateTime<sqlx::types::chrono::Utc>> | &[sqlx::types::chrono::DateTime<_>],

#[cfg(feature = "time")]
Vec<sqlx::types::time::Time> | &[sqlx::types::time::Time],
Expand Down

0 comments on commit 4bfd7a5

Please sign in to comment.