Skip to content

Commit 4bfd7a5

Browse files
mrcdabonander
authored andcommitted
Enable support for Vec<DateTime<Utc>>
1 parent 144dcce commit 4bfd7a5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sqlx-macros/src/database/postgres.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,8 @@ impl_database_ext! {
8888
#[cfg(feature = "chrono")]
8989
Vec<sqlx::types::chrono::NaiveDateTime> | &[sqlx::types::chrono::NaiveDateTime],
9090

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

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

0 commit comments

Comments
 (0)