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(),