relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
Loading...
Searching...
No Matches
relx::query::SqlExpression Struct Referenceabstract

Base class for SQL expressions. More...

#include <relx/query/core.hpp>

Inheritance diagram for relx::query::SqlExpression:
relx::query::AscendingExpr< Expr > relx::query::BetweenCondition< Expr > relx::query::BinaryCondition< Left, Right > relx::query::ColumnExpression relx::query::DescendingExpr< Expr > relx::query::InCondition< Expr, Range > relx::query::IsNotNullCondition< Expr > relx::query::IsNullCondition< Expr > relx::query::LikeCondition< Expr > relx::query::NotCondition< Expr > relx::query::TypedInCondition< Expr, Range > relx::query::Value< T > relx::query::Value< const char * > relx::query::Value< std::optional< T > > relx::query::Value< std::string > relx::query::Value< std::string_view >

Public Member Functions

virtual ~SqlExpression ()=default
 
virtual std::string to_sql () const =0
 
virtual std::vector< std::string > bind_params () const =0
 

Detailed Description

Base class for SQL expressions.

Definition at line 61 of file core.hpp.

Constructor & Destructor Documentation

◆ ~SqlExpression()

virtual relx::query::SqlExpression::~SqlExpression ( )
virtualdefault

Member Function Documentation

◆ bind_params()

◆ to_sql()


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