VSQLite++ 0.3
Loading...
Searching...
No Matches
sqlite::v2::statement_cache_config Struct Reference

Configuration knobs for the built-in LRU statement cache. More...

#include <statement_cache.hpp>

Collaboration diagram for sqlite::v2::statement_cache_config:
Collaboration graph

Public Attributes

std::size_t capacity = 32
 Maximum cached statements.
bool enabled = true
 Disable caching without destroying existing entries.

Detailed Description

Configuration knobs for the built-in LRU statement cache.

Definition at line 59 of file statement_cache.hpp.

Member Data Documentation

◆ capacity

std::size_t sqlite::v2::statement_cache_config::capacity = 32

Maximum cached statements.

Definition at line 60 of file statement_cache.hpp.

◆ enabled

bool sqlite::v2::statement_cache_config::enabled = true

Disable caching without destroying existing entries.

Definition at line 61 of file statement_cache.hpp.


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