IronQuery
A SQL-first query builder for C++
Loading...
Searching...
No Matches
Functions
userver.hpp File Reference

Optional integration with userver's storages::Query. Not pulled in by iron_query.hpp — iron-query itself does not depend on userver, so include this header directly in projects that have userver on their include path. More...

#include <utility>
#include <userver/storages/query.hpp>
Include dependency graph for userver.hpp:

Go to the source code of this file.

Functions

template<typename Builder >
::storages::Query iron_query::userver::ToQuery (const Builder &builder, ::storages::Query::Name name, ::storages::Query::LogMode log_mode=::storages::Query::LogMode::kFull)
 Renders a finalized IronQuery builder (iron_query::SelectExpr, iron_query::InsertInto, iron_query::Update, iron_query::DeleteFrom, iron_query::SetOp, iron_query::WithQuery, or anything else exposing std::string ToString() const) into a userver storages::Query, ready to pass to a driver's Execute/Select.
 

Detailed Description

Optional integration with userver's storages::Query. Not pulled in by iron_query.hpp — iron-query itself does not depend on userver, so include this header directly in projects that have userver on their include path.