#include <userver/storages/sqlite/options.hpp>
SQLite connection settings.
Configures behavior related to prepared statements and their caching.
Definition at line 63 of file options.hpp.
Public Types | |
| enum | PreparedStatementOptions { kCachePreparedStatements , kNoPreparedStatements } |
| Options for handling prepared statements. More... | |
Static Public Member Functions | |
| static ConnectionSettings | Create (const components::ComponentConfig &config) |
Public Attributes | |
| PreparedStatementOptions | prepared_statements |
| Cache prepared statements or not. | |
| std::size_t | max_prepared_cache_size = kDefaultMaxPreparedCacheSize |
| Maximum number of prepared statements to cache. | |
Options for handling prepared statements.
| Enumerator | |
|---|---|
| kCachePreparedStatements | Enable caching of prepared statements. |
| kNoPreparedStatements | Disable caching of prepared statements. |
Definition at line 65 of file options.hpp.
| std::size_t storages::sqlite::settings::ConnectionSettings::max_prepared_cache_size = kDefaultMaxPreparedCacheSize |
Maximum number of prepared statements to cache.
Definition at line 75 of file options.hpp.
| PreparedStatementOptions storages::sqlite::settings::ConnectionSettings::prepared_statements |
Cache prepared statements or not.
Definition at line 71 of file options.hpp.