userver: storages::sqlite::ExecutionResult Struct Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
storages::sqlite::ExecutionResult Struct Referencefinal

#include <userver/storages/sqlite/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::int64_t rows_affected {}
 
std::int64_t last_insert_id {}
 LastInsertId, if any, or zero.
 

Member Data Documentation

◆ last_insert_id

std::int64_t storages::sqlite::ExecutionResult::last_insert_id {}

LastInsertId, if any, or zero.

Definition at line 19 of file execution_result.hpp.

◆ rows_affected

std::int64_t storages::sqlite::ExecutionResult::rows_affected {}

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

Definition at line 16 of file execution_result.hpp.


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