This commit is contained in:
2024-10-08 13:23:19 -05:00
parent ec8b7783f3
commit 37d393c1f9
2 changed files with 7 additions and 8 deletions

View File

@ -454,7 +454,7 @@ template <typename ctx_t, typename op_t> struct db_where_t final {
for (auto &&action : data.actions) {
std::visit(overloaded{
[&idx, &stream](const comp_data_t &comp) {
stream << comp.column_name << comp.op_type
stream << '"' << comp.column_name << '"' << comp.op_type
<< '?' + std::to_string(++idx);
},
[&idx, &stream](const n_t &next) {
@ -517,7 +517,7 @@ template <typename ctx_t, typename op_t> struct db_where_with_limit_t final {
for (auto &&action : data.actions) {
std::visit(overloaded{
[&idx, &stream](const comp_data_t &comp) {
stream << comp.column_name << comp.op_type
stream << '"' << comp.column_name << '"' << comp.op_type
<< '?' + std::to_string(++idx);
},
[&idx, &stream](const n_t &next) {