From 395d8e5b8c7dff624e4204d5a04fad05e68c51a7 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Wed, 31 Aug 2022 14:37:22 +0100 Subject: [PATCH] Ensure arrays sort before objects in Record IDs --- lib/src/sql/id.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/sql/id.rs b/lib/src/sql/id.rs index 21ed641f..26a8790b 100644 --- a/lib/src/sql/id.rs +++ b/lib/src/sql/id.rs @@ -15,8 +15,8 @@ use std::fmt; pub enum Id { Number(i64), String(String), - Object(Object), Array(Array), + Object(Object), } impl From for Id {