#include <ozo/query.h>
Query concept
Query consists of two parts:
QueryText
concept,Type which models the Query
concept automatically models BinaryQueryConvertible
.
This is very simple but powerful concept, which allows to use different query representations with the library. Type query
models Query
concept if this code is valid:
To adapt custom type as Query
for the library it is needed to customize ozo::get_query_text()
and ozo::get_query_params()
via its' implementations. See both functions description for more details.
Query may be constructed via ozo::make_query
function or ozo::query_builder
.