MCPcopy Create free account
hub / github.com/erans/pgsqlite / clear_cache

Method clear_cache

src/optimization/statement_cache_optimizer.rs:272–275  ·  view source on GitHub ↗

Clear statement cache (useful for DDL operations or testing)

(&self)

Source from the content-addressed store, hash-verified

270
271 /// Clear statement cache (useful for DDL operations or testing)
272 pub fn clear_cache(&self) {
273 self.statement_pool.clear();
274 info!("Enhanced statement cache cleared");
275 }
276
277 /// Enable or disable statement caching
278 pub fn set_enabled(&mut self, enabled: bool) {

Callers 1

Calls 1

clearMethod · 0.45

Tested by 1