#include <sqt/orm/querier/where_capability.h>
A mixin class template that provides the capability to add a WHERE clause to a querier.
| QUERIER | The querier type that the mixin is applied to. It must satisfy the sqt::QuerierType concept. |
| DECORATOR | The decorator type that the Where() method creates. It defaults to the sqt::WhereDecorator<> for non-selecters, or sqt::WhereSelectDecorator<> for selecters. |
This class template provides the Where() method to the specified querier type, which creates instances of the DECORATOR that adds a WHERE clause to the SQL statement.
Public Member Functions | |
| template<PredicateType PREDICATE> | |
| constexpr auto | Where (PREDICATE &&predicate) const |