A wrapper for command result set.
More...
#include </data/code/service_template/third_party/userver/mysql/include/userver/storages/mysql/command_result_set.hpp>
|
| CommandResultSet (impl::QueryResult &&mysql_result) |
|
| CommandResultSet (const CommandResultSet &other)=delete |
|
| CommandResultSet (CommandResultSet &&other) noexcept |
|
std::size_t | RowsCount () const |
| Returns amount of rows in the result set.
|
|
std::size_t | FieldsCount () const |
| Returns amount of columns in the result set.
|
|
bool | Empty () const |
| Return true if there are any rows in the result set, false otherwise.
|
|
const std::string & | At (std::size_t row, std::size_t column) const |
| Returns a value at row row at column column .
|
|
std::string & | At (std::size_t row, std::size_t column) |
| Returns a value at row row at column column .
|
|
A wrapper for command result set.
This type can't be constructed in user code and is always retrieved from storages::mysql::Cluster.
This class doesn't come with much functionality, reach for prepared statements interface of the storages::mysql::Cluster if you want some.
Definition at line 24 of file command_result_set.hpp.
The documentation for this class was generated from the following file: