#include </data/code/userver/mysql/include/userver/storages/mysql/query.hpp>
Query class, which driver executes.
Definition at line 15 of file query.hpp.
|
using | Name = utils::StrongTypedef<struct NameTag, std::string> |
| Strong typedef for query name, one can use named queries to get better logging experience.
|
|
|
| Query (const char *statement, std::optional< Name > name=std::nullopt) |
| Query constructor.
|
|
| Query (std::string statement, std::optional< Name > name=std::nullopt) |
| Query constructor.
|
|
const std::string & | GetStatement () const |
| Get query statement.
|
|
const std::optional< Name > & | GetName () const |
| Get query name.
|
|
◆ Name
Strong typedef for query name, one can use named queries to get better logging experience.
Definition at line 19 of file query.hpp.
The documentation for this class was generated from the following file: