userver: storages::mysql::ExecutionResult Struct Reference
Loading...
Searching...
No Matches
storages::mysql::ExecutionResult Struct Referencefinal

#include </data/code/userver/mysql/include/userver/storages/mysql/execution_result.hpp>

Detailed Description

Metadata for an execution of a statement that doesn't expect a result set (INSERT, UPDATE, DELETE).

Definition at line 13 of file execution_result.hpp.

Public Attributes

std::uint64_t rows_affected {}
 
std::uint64_t last_insert_id {}
 LastInsertId, if any, or zero.
 

Member Data Documentation

◆ last_insert_id

std::uint64_t storages::mysql::ExecutionResult::last_insert_id {}

LastInsertId, if any, or zero.

Definition at line 19 of file execution_result.hpp.

◆ rows_affected

std::uint64_t storages::mysql::ExecutionResult::rows_affected {}

Amount of rows that statement affected. Consult MySQL docs for better understanding.

Definition at line 16 of file execution_result.hpp.


The documentation for this struct was generated from the following file: