userver: storages::odbc::settings::PreparedStatementCacheSettings Struct Reference
Loading...
Searching...
No Matches
storages::odbc::settings::PreparedStatementCacheSettings Struct Referencefinal

#include </data/code/userver/odbc/include/userver/storages/odbc/settings.hpp>

Detailed Description

Per-connection prepared statement cache options.

Definition at line 25 of file settings.hpp.

Public Member Functions

bool operator== (const PreparedStatementCacheSettings &) const =default

Public Attributes

std::size_t max_size {0}

Member Data Documentation

◆ max_size

std::size_t storages::odbc::settings::PreparedStatementCacheSettings::max_size {0}

Maximum number of parameterized SQL statements retained per physical ODBC connection. A value of 0 disables the cache.

Definition at line 28 of file settings.hpp.


The documentation for this struct was generated from the following file:
  • /data/code/userver/odbc/include/userver/storages/odbc/settings.hpp