SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches
sqt::LimitSelectCapability< SELECTER > Class Template Reference

#include <sqt/orm/querier/selecter/limit_select_capability.h>

Inheritance diagram for sqt::LimitSelectCapability< SELECTER >:

Description

template<typename SELECTER>
class sqt::LimitSelectCapability< SELECTER >

A mixin class template that provides the capability to add a LIMIT clause to a selecter.

Template Parameters
SELECTERThe selecter type that the mixin is applied to. It must satisfy the sqt::SelecterType concept.

This class template provides the Limit() methods to the specified selecter type, which create instances of sqt::LimitSelectDecorator<> that adds a LIMIT clause to the SQL statement.

See also
sqt::LimitSelectDecorator<>
sqt::SelecterType

Public Member Functions

constexpr auto Limit (std::size_t limit) const
constexpr auto Limit (Placeholder placeholder) const