CppSQLite 是否查询磁盘或缓存?

Does CppSQLite queries the disk or cache?

我使用 CppSQLite 3.5.7。

有没有办法记录/获取有关 SQLite 查询是使用磁盘还是缓存来获取结果的信息?

SQLite C API 有 sqlite3_db_status() function, which allows querying the SQLITE_DBSTATUS_CACHE_HIT/MISS 个计数器。

CppSQLite 库不公开此 API;你必须修改它。