Condition class representing an IN condition. More...
#include <condition.hpp>
Inherits detail::basic_column_condition.
Public Member Functions | |
condition (column col, detail::basic_condition::t_operand op, detail::basic_query q) | |
Create a query IN condition. | |
std::string | evaluate (basic_dialect &dialect) const override |
Evaluates the condition. | |
Condition class representing an IN condition.
This class represents an query IN condition and evaluates to this condition based on the current database dialect
|
inline |
Create a query IN condition.
Create an IN condition where the argument values come from the given query. To evaluate the query a sql dialect must be given.
col | Column for the IN condition |
op | Operand of the condition |
q | The query to be evaluated to the IN arguments |
|
inlineoverride |
Evaluates the condition.
Evaluates the condition to a part of the query string based on the given compile type
dialect | The dialect used to evaluate |