#include <userver/storages/clickhouse/query.hpp>
Holds a query and its name. In case query is expected to be executed with parameters, query text should conform to fmt format.
Public Types | |
using | Name = ::utils::StrongTypedef<struct NameTag, std::string> |
Public Member Functions | |
Query (const char *text, std::optional< Name >=std::nullopt) | |
Query (std::string text, std::optional< Name >=std::nullopt) | |
const std::string & | QueryText () const & |
const std::optional< Name > & | QueryName () const & |
using storages::clickhouse::Query::Name = ::utils::StrongTypedef<struct NameTag, std::string> |