OZO 「お象」
Boost.Asio and libpq based asynchronous PostgreSQL unofficial header-only C++17 client library.
QueryText Interface Reference

#include <ozo/query.h>

Description

Query text concept

The QueryText concept is very simple. Query text should be convertible into a const char* via ozo::to_const_char(). The conversion should not throw an exception. It means that query_text models QueryText concept if this code is valid:

const char* text = ozo::to_const_char(query_text);

To adapt a custom text representation as QueryText it is needed to customize ozo::to_const_char() function via it's implementation. For more details see the function documentation.

See also
ozo::to_const_char()
ozo::to_const_char
constexpr auto to_const_char(const T &text) noexcept
Convert QueryText to const char*.