A database column, allowing C++ operators to build parameterized SQL conditions.
More...
#include <QueryBuilder.hpp>
|
| template<typename T > |
| Expr | make (const char *op, const T &val) const |
| |
A database column, allowing C++ operators to build parameterized SQL conditions.
Values are always bound as parameters, never spliced into the SQL text.
- Exceptions
-
| std::invalid_argument | if the column name is not a plain identifier. |
◆ Col()
| orbit::orm::Col::Col |
( |
std::string |
name | ) |
|
|
inlineexplicit |
◆ make()
template<typename T >
| Expr orbit::orm::Col::make |
( |
const char * |
op, |
|
|
const T & |
val |
|
) |
| const |
|
inlineprivate |
◆ operator!=()
template<typename T >
| Expr orbit::orm::Col::operator!= |
( |
const T & |
val | ) |
const |
|
inline |
◆ operator<()
template<typename T >
| Expr orbit::orm::Col::operator< |
( |
const T & |
val | ) |
const |
|
inline |
◆ operator<=()
template<typename T >
| Expr orbit::orm::Col::operator<= |
( |
const T & |
val | ) |
const |
|
inline |
◆ operator==()
template<typename T >
| Expr orbit::orm::Col::operator== |
( |
const T & |
val | ) |
const |
|
inline |
◆ operator>()
template<typename T >
| Expr orbit::orm::Col::operator> |
( |
const T & |
val | ) |
const |
|
inline |
◆ operator>=()
template<typename T >
| Expr orbit::orm::Col::operator>= |
( |
const T & |
val | ) |
const |
|
inline |
◆ name_
| std::string orbit::orm::Col::name_ |
|
private |
The documentation for this class was generated from the following file: