#include </data/code/userver/mysql/include/userver/storages/mysql/command_result_set.hpp>
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.
Public Member Functions | |
| 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.  | |