relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
Loading...
Searching...
No Matches
helpers.hpp File Reference
#include "column_expression.hpp"
#include "condition.hpp"
#include "core.hpp"
#include "function.hpp"
#include "schema_adapter.hpp"
#include "select.hpp"
#include "value.hpp"
#include <string>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  relx
 relx database connection
 
namespace  relx::query
 

Functions

template<typename Columns , TableType Table>
auto relx::query::from (const SelectQuery< Columns > &query, const Table &table)
 FROM extension for schema tables with automatic adapter creation.
 
template<typename Columns , typename Tables , typename Joins , typename Where , typename GroupBys , typename OrderBys , typename HavingCond , typename LimitVal , typename OffsetVal , TableType Table, ConditionExpr Condition>
auto relx::query::join (const SelectQuery< Columns, Tables, Joins, Where, GroupBys, OrderBys, HavingCond, LimitVal, OffsetVal > &query, const Table &table, Condition cond, JoinType type=JoinType::Inner)
 JOIN extension for schema tables with automatic adapter creation.