From 91a859f6b0ca79395f557bd5de927f2f91d01de4 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sun, 5 Jun 2022 22:15:12 +0100 Subject: [PATCH] Ensure Params are treated as Idioms --- lib/src/sql/value/value.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/sql/value/value.rs b/lib/src/sql/value/value.rs index 4cbd2d57..4e92a8f6 100644 --- a/lib/src/sql/value/value.rs +++ b/lib/src/sql/value/value.rs @@ -640,6 +640,7 @@ impl Value { pub fn to_idiom(&self) -> Idiom { match self { + Value::Param(v) => v.simplify(), Value::Idiom(v) => v.simplify(), Value::Strand(v) => v.0.to_string().into(), Value::Datetime(v) => v.0.to_string().into(),