From 484c2d8b053f97a83f4e44fc73ba8b1d4f0eeee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20K=C3=BChl?= Date: Thu, 22 Aug 2024 16:07:45 +0200 Subject: [PATCH] removed quotes for enum value in condition --- include/matador/sql/condition.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/matador/sql/condition.hpp b/include/matador/sql/condition.hpp index fcd5b9c..e39e439 100644 --- a/include/matador/sql/condition.hpp +++ b/include/matador/sql/condition.hpp @@ -102,7 +102,7 @@ public: auto at = data_type_traits::create_value(value); any_type_to_string_visitor value_to_string(d, query); std::visit(value_to_string, at); - return "'" + value_to_string.result + "' " + operand + " " + d.prepare_identifier(field_); + return value_to_string.result + " " + operand + " " + d.prepare_identifier(field_); } };