diff --git a/include/sqlpp11/core/operator/logical_expression.h b/include/sqlpp11/core/operator/logical_expression.h index 0004af04..1bb618d2 100644 --- a/include/sqlpp11/core/operator/logical_expression.h +++ b/include/sqlpp11/core/operator/logical_expression.h @@ -82,9 +82,8 @@ namespace sqlpp template struct requires_parentheses> : public std::true_type{}; -#warning: rename template - auto serialize_impl(Context& context, const logical_expression& t) -> std::string + auto to_sql_string_impl(Context& context, const logical_expression& t) -> std::string { return operand_to_sql_string(context, t._l) + Operator::symbol + operand_to_sql_string(context, t._r); } @@ -92,7 +91,7 @@ namespace sqlpp template auto to_sql_string(Context& context, const logical_expression& t) -> std::string { - return serialize_impl(context, t); + return to_sql_string_impl(context, t); } template @@ -120,7 +119,7 @@ namespace sqlpp { if (t._r._condition) { - return serialize_impl(context, t); + return to_sql_string_impl(context, t); } // If the dynamic part is inactive ignore it.