|
VSQLite++ 0.3
|
LRU cache for prepared statements shared across sqlite::connection. More...
#include <cstddef>#include <list>#include <memory>#include <mutex>#include <string>#include <string_view>#include <unordered_map>

Go to the source code of this file.
Classes | |
| struct | sqlite::v2::statement_cache_config |
| Configuration knobs for the built-in LRU statement cache. More... | |
| class | sqlite::v2::statement_cache |
| Tracks prepared statements by SQL text and hands them out on demand. More... | |
| struct | sqlite::v2::statement_cache::entry |
Namespaces | |
| namespace | sqlite |
| namespace | sqlite::v2 |
LRU cache for prepared statements shared across sqlite::connection.
Keeping commonly used statements around avoids parse/prepare overhead and honors SQLite's recommendation to reuse sqlite3_stmt* objects whenever possible.
Definition in file statement_cache.hpp.