|
ORM C++
|
A template class representing a select query in the ORM framework. More...
#include <query.hpp>
Public Member Functions | |
| Query () | |
| Constructs a Query object. | |
| auto | where (const query::Condition &condition) -> Query< T > & |
| Where clause. | |
| 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. | |
Friends | |
| class | orm::Database |
| Database class is a friend class of Query for access to the query data. | |
A template class representing a select query in the ORM framework.
This class provides functionality for building a select query.
| T | The type of the query. |
|
inline |
Disables joining for the select query.
|
inline |
Sets the LIMIT clause for the select query.
| limit | The maximum number of rows to return. |
|
inline |
Sets the OFFSET clause for the select query.
| offset | The number of rows to skip. |
|
inline |
Where clause.
| condition |