Holds a query, its name and logging mode.
More...
#include <userver/storages/postgres/query.hpp>
|
| Query (const char *statement, std::optional< Name > name=std::nullopt, LogMode log_mode=LogMode::kFull) |
|
| Query (std::string statement, std::optional< Name > name=std::nullopt, LogMode log_mode=LogMode::kFull) |
|
const std::optional< Name > & | GetName () const |
|
const std::string & | Statement () const |
|
void | FillSpanTags (tracing::Span &) const |
| Fills provided span with connection info.
|
|
◆ Name
◆ LogMode
enum class storages::postgres::Query::LogMode |
|
strong |
The documentation for this class was generated from the following file: