|
relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
|
Adapter to convert schema::table to work with query builder This maintains table name and enables column access with SQL expression support. More...
#include <relx/query/schema_adapter.hpp>
Public Member Functions | |
| SchemaTableAdapter (const T &table) | |
| template<ColumnType C> | |
| auto | get_column (const C &col) const |
| Get a column from this table as a SQL expression. | |
| const T & | schema_table () const |
Static Public Attributes | |
| static constexpr auto | table_name = T::table_name |
Adapter to convert schema::table to work with query builder This maintains table name and enables column access with SQL expression support.
Definition at line 62 of file schema_adapter.hpp.
|
inlineexplicit |
Definition at line 66 of file schema_adapter.hpp.
|
inline |
Get a column from this table as a SQL expression.
Definition at line 70 of file schema_adapter.hpp.
|
inline |
Definition at line 74 of file schema_adapter.hpp.
|
staticconstexpr |
Definition at line 64 of file schema_adapter.hpp.