From 4bfd7a555f2e9cd468aba5c0c014cfd5f05aa064 Mon Sep 17 00:00:00 2001 From: Max DaPrato Date: Fri, 16 Oct 2020 13:44:06 -0400 Subject: [PATCH] Enable support for Vec> --- sqlx-macros/src/database/postgres.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sqlx-macros/src/database/postgres.rs b/sqlx-macros/src/database/postgres.rs index a29b56cc..ed1dad6a 100644 --- a/sqlx-macros/src/database/postgres.rs +++ b/sqlx-macros/src/database/postgres.rs @@ -88,9 +88,8 @@ impl_database_ext! { #[cfg(feature = "chrono")] Vec | &[sqlx::types::chrono::NaiveDateTime], - // TODO - // #[cfg(feature = "chrono")] - // Vec> | &[sqlx::types::chrono::DateTime<_>], + #[cfg(feature = "chrono")] + Vec> | &[sqlx::types::chrono::DateTime<_>], #[cfg(feature = "time")] Vec | &[sqlx::types::time::Time],