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

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

Inheritance diagram for sqt::OrderBySelectCapability< SELECTER >:

Description

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

A mixin class template that provides the capability to add an ORDER BY 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 OrderBy() method to the specified selecter type, which create an instances of sqt::OrderBySelectDecorator<> that adds an ORDER BY clause to the SQL statement.

See also
sqt::OrderBySelectDecorator<>
sqt::SelecterType

Public Member Functions

template<OrderingTermType... TERMS>
constexpr auto OrderBy (const TERMS &... terms) const