|
|
| Query () |
| | Constructs a Query object.
|
| auto | where (const query::Predicate &predicate) -> Query< T > & |
| | Replaces the WHERE predicate.
|
| auto | andWhere (const query::Predicate &predicate) -> Query< T > & |
| | Adds a predicate with AND.
|
| auto | orWhere (const query::Predicate &predicate) -> Query< T > & |
| | Adds a predicate with OR.
|
| template<typename... Orders> |
| auto | orderBy (Orders... orders) -> Query< T > & |
| | Sets the ORDER BY clauses for the select query.
|
| auto | distinct () -> Query< T > & |
| | Select distinct rows.
|
| auto | offset (std::size_t offset) -> Query< T > & |
| | Sets the OFFSET clause for the select query.
|
| auto | limit (std::size_t limit) -> Query< T > & |
| | Sets the LIMIT clause for the select query.
|
| auto | disableJoining () -> Query< T > & |
| | Disables joining for the select query.
|
template<typename T>
class orm::Query< T >
A template class representing a select query in the ORM framework.
This class provides functionality for building a select query.
- Template Parameters
-