SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches

◆ OrderBy()

template<typename SELECTER>
template<OrderingTermType... TERMS>
auto sqt::OrderBySelectCapability< SELECTER >::OrderBy ( const TERMS &... terms) const
constexpr

Creates a decorator that adds an ORDER BY clause to the current selecter.

Template Parameters
TERMSThe ordering term types to be used in the ORDER BY clause. Each type must satisfy the sqt::OrderingTermType concept.
Parameters
termsThe ordering term instances. They are only used to deduce the types.
Returns
A sqt::OrderBySelectDecorator<> instance.
See also
sqt::OrderBySelectDecorator<>
sqt::OrderingTermType