Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
Loading...
Searching...
No Matches
orm::Col Class Reference

Represents a database column, allowing C++ operator overloading to build SQL expressions seamlessly. More...

#include <QueryBuilder.hpp>

Public Member Functions

 Col (std::string name)
 
template<typename T >
Expr operator== (const T &val) const
 
template<typename T >
Expr operator!= (const T &val) const
 
template<typename T >
Expr operator> (const T &val) const
 
template<typename T >
Expr operator< (const T &val) const
 
template<typename T >
Expr operator>= (const T &val) const
 
template<typename T >
Expr operator<= (const T &val) const
 

Detailed Description

Represents a database column, allowing C++ operator overloading to build SQL expressions seamlessly.

Constructor & Destructor Documentation

◆ Col()

orm::Col::Col ( std::string  name)
inlineexplicit

Member Function Documentation

◆ operator!=()

template<typename T >
Expr orm::Col::operator!= ( const T &  val) const
inline

◆ operator<()

template<typename T >
Expr orm::Col::operator< ( const T &  val) const
inline

◆ operator<=()

template<typename T >
Expr orm::Col::operator<= ( const T &  val) const
inline

◆ operator==()

template<typename T >
Expr orm::Col::operator== ( const T &  val) const
inline

◆ operator>()

template<typename T >
Expr orm::Col::operator> ( const T &  val) const
inline

◆ operator>=()

template<typename T >
Expr orm::Col::operator>= ( const T &  val) const
inline

The documentation for this class was generated from the following file: