userver
C++ Async Framework
Loading...
Searching...
No Matches
execution_result.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/storages/mysql/execution_result.hpp
4
5
#
include
<
cstdint
>
6
7
USERVER_NAMESPACE_BEGIN
8
9
namespace
storages
::
mysql
{
10
11
/// @brief Metadata for an execution of a statement that doesn't expect a result
12
/// set (INSERT, UPDATE, DELETE).
13
struct
ExecutionResult
final
{
14
/// Amount of rows that statement affected. Consult MySQL docs for better
15
/// understanding.
16
std::uint64_t
rows_affected
{};
17
18
/// LastInsertId, if any, or zero.
19
std::uint64_t
last_insert_id
{};
20
};
21
22
}
// namespace storages::mysql
23
24
USERVER_NAMESPACE_END
userver
storages
mysql
execution_result.hpp
Generated on Wed May 15 2024 22:14:02 for userver by
Doxygen
1.10.0