|
relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
|
#include "../schema/column.hpp"#include "../schema/table.hpp"#include "column_expression.hpp"#include "core.hpp"#include "meta.hpp"#include <string>#include <string_view>#include <type_traits>#include <vector>Go to the source code of this file.
Classes | |
| class | relx::query::SchemaColumnAdapter< C > |
| Adapter to convert schema::column to a ColumnRef This allows direct use of schema columns in query expressions. More... | |
| class | relx::query::SchemaTableAdapter< T > |
| Adapter to convert schema::table to work with query builder This maintains table name and enables column access with SQL expression support. More... | |
Namespaces | |
| namespace | relx |
| relx database connection | |
| namespace | relx::query |
Functions | |
| template<ColumnType C> | |
| auto | relx::query::to_expr (const C &col, std::string_view table_name="") |
| Helper to wrap a schema column in a SQL expression. | |
| template<TableType T> | |
| auto | relx::query::to_table (const T &table) |
| Helper to wrap a schema table in a table adapter. | |