#include <sqt/orm/querier/where_decorator.h>
A querier decorator that adds a WHERE clause to the SQL statement of the decorated querier.
| QUERIER | The querier type to be decorated, which must satisfy the sqt::QuerierType concept. |
| PREDICATE | The predicate type to be applied in the WHERE clause. It must satisfy the sqt::PredicateType concept. |
To create instances of this class template, use the Where() method of the sqt::WhereCapability<> class template, which is a mixin for queriers that support the WHERE clause.
This class template satisfies the sqt::QuerierType concept.
Static Public Member Functions | |
| static std::string_view | BuildSQL () |
| static constexpr auto | BuildPlaceholderBinders () noexcept |
Public Member Functions | |
| constexpr | WhereDecorator (QUERIER QUERIER, PREDICATE predicate) |
| void | BindInlineParameters (Statement &statement) const |
Static Public Attributes | |
| static constexpr std::size_t | ParameterIndex |
| static constexpr std::size_t | ParameterCount = PREDICATE::ParameterCount |