userver
C++ Async Framework
Toggle main menu visibility
Documentation
API Groups
Namespaces
Reference
Class List
Class Index
File List
Macros
All
e
i
l
r
t
u
Functions
Macros
e
i
l
r
t
u
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
operation_types.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/storages/sqlite/operation_types.hpp
4
/// @brief Operation properties for SQLite client
5
6
USERVER_NAMESPACE_BEGIN
7
8
namespace
storages::sqlite {
9
10
/// @brief Type of the SQL operation (read or write).
11
///
12
/// This enun is used to explicitly specify the expected type of query (read-only or read-write).
13
/// The value affects the choice of the connection pool: read-only operations are routed to a read-only pool,
14
/// while write-capable operations are executed in a read-write pool.
15
/// This helps to optimize resource usage and performance depending on the nature of the SQL request.
16
enum
class
OperationType
{
17
/// @brief Execute the query using a read-only connection pool.
18
kReadOnly
,
19
/// @brief Execute the query using a read-write connection pool.
20
kReadWrite
,
21
};
16
enum
class
OperationType
{
…
};
22
23
}
// namespace storages::sqlite
24
25
USERVER_NAMESPACE_END
userver
storages
sqlite
operation_types.hpp
Generated on Thu Jun 19 2025 12:47:16 for userver by
Doxygen
1.13.2