From 70724adec4a0b415114c1bbe88f55d1ae77a9386 Mon Sep 17 00:00:00 2001 From: Joel Nordell Date: Tue, 31 May 2022 16:28:15 -0500 Subject: [PATCH] Numeric implements SqlOrd --- diesel/src/sql_types/ord.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/diesel/src/sql_types/ord.rs b/diesel/src/sql_types/ord.rs index e3ba8d3fdc6f..ff92fabe7fa3 100644 --- a/diesel/src/sql_types/ord.rs +++ b/diesel/src/sql_types/ord.rs @@ -19,6 +19,8 @@ impl SqlOrd for sql_types::Nullable where T: SqlOrd + SqlType SqlOrd for sql_types::Array {} +#[cfg(feature = "postgres")] +impl SqlOrd for sql_types::Numeric {} #[cfg(feature = "mysql")] impl SqlOrd for sql_types::Datetime {}