|
relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
|
Adapter to convert schema::column to a ColumnRef This allows direct use of schema columns in query expressions. More...
#include <relx/query/schema_adapter.hpp>
Public Types | |
| using | value_type = typename C::value_type |
Public Member Functions | |
| SchemaColumnAdapter (const C &col, std::string_view table_name="") | |
| std::string | to_sql () const override |
| std::vector< std::string > | bind_params () const override |
| std::string | column_name () const override |
| std::string | table_name () const override |
| const C & | column () const |
Public Member Functions inherited from relx::query::ColumnExpression | |
| virtual | ~ColumnExpression ()=default |
Public Member Functions inherited from relx::query::SqlExpression | |
| virtual | ~SqlExpression ()=default |
Adapter to convert schema::column to a ColumnRef This allows direct use of schema columns in query expressions.
Definition at line 19 of file schema_adapter.hpp.
| using relx::query::SchemaColumnAdapter< C >::value_type = typename C::value_type |
Definition at line 21 of file schema_adapter.hpp.
|
inlineexplicit |
Definition at line 24 of file schema_adapter.hpp.
|
inlineoverridevirtual |
Implements relx::query::SqlExpression.
Definition at line 29 of file schema_adapter.hpp.
|
inline |
Definition at line 35 of file schema_adapter.hpp.
|
inlineoverridevirtual |
Implements relx::query::ColumnExpression.
Definition at line 31 of file schema_adapter.hpp.
|
inlineoverridevirtual |
Implements relx::query::ColumnExpression.
Definition at line 33 of file schema_adapter.hpp.
|
inlineoverridevirtual |
Implements relx::query::SqlExpression.
Definition at line 27 of file schema_adapter.hpp.