Condition class representing an IN condition. More...
#include <condition.hpp>
Inherits detail::basic_in_condition.
Public Member Functions | |
condition (const column &col, const std::initializer_list< V > &args) | |
Creates an IN condition. | |
std::string | evaluate (basic_dialect &dialect) const override |
Evaluates the condition. | |
size_t | size () const override |
Returns the number of arguments in the list. | |
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 |
Creates an IN condition.
Creates an IN condition for the given column and the given list of arguments.
col | Column for the IN condition |
args | List of 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 |
|
inlineoverride |
Returns the number of arguments in the list.