Tracks prepared statements by SQL text and hands them out on demand.
More...
#include <statement_cache.hpp>
Tracks prepared statements by SQL text and hands them out on demand.
Definition at line 65 of file statement_cache.hpp.
◆ iterator
◆ lru_list
◆ statement_cache()
◆ acquire()
| sqlite3_stmt * sqlite::v2::statement_cache::acquire |
( |
sqlite3 * | db, |
|
|
std::string_view | sql ) |
◆ clear()
| void sqlite::v2::statement_cache::clear |
( |
sqlite3 * | db | ) |
|
◆ config()
◆ release()
| void sqlite::v2::statement_cache::release |
( |
std::string_view | sql, |
|
|
sqlite3_stmt * | stmt ) |
◆ reset()
◆ config_
◆ lru_
| lru_list sqlite::v2::statement_cache::lru_ |
|
private |
◆ map_
| std::unordered_map<std::string, iterator> sqlite::v2::statement_cache::map_ |
|
private |
◆ mutex_
| std::mutex sqlite::v2::statement_cache::mutex_ |
|
mutableprivate |
The documentation for this class was generated from the following file: