Operation properties for SQLite client.
Definition in file operation_types.hpp.
Go to the source code of this file.
Namespaces | |
namespace | storages |
Components, clients and helpers for different databases and storages. | |
Enumerations | |
enum class | storages::sqlite::OperationType { kReadOnly , kReadWrite } |
Type of the SQL operation (read or write). More... | |
|
strong |
Type of the SQL operation (read or write).
This enun is used to explicitly specify the expected type of query (read-only or read-write). The value affects the choice of the connection pool: read-only operations are routed to a read-only pool, while write-capable operations are executed in a read-write pool. This helps to optimize resource usage and performance depending on the nature of the SQL request.
Enumerator | |
---|---|
kReadOnly | Execute the query using a read-only connection pool. |
kReadWrite | Execute the query using a read-write connection pool. |
Definition at line 16 of file operation_types.hpp.