added missing bind variable
This commit is contained in:
parent
15d6328ae9
commit
56f307fd37
|
|
@ -50,6 +50,7 @@ template<class... Ts> struct overload : Ts... { using Ts::operator()...; };
|
|||
template<class... Ts> overload(Ts...) -> overload<Ts...>;
|
||||
|
||||
void criteria_evaluator::visit(const binary_criteria &node) {
|
||||
query_.bind_vars.emplace_back(node.column().name);
|
||||
clause_ += dialect_.prepare_condition(node.column()) + " " + detail::BinaryOperatorEnum.to_string(node.operand()) + " ";
|
||||
|
||||
evaluate_value(node.value());
|
||||
|
|
|
|||
Loading…
Reference in New Issue