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

Method invalidate

src/cache/schema.rs:69–71  ·  view source on GitHub ↗

Invalidate cache for a specific table (e.g., after ALTER TABLE)

(&self, table_name: &str)

Source from the content-addressed store, hash-verified

67
68 /// Invalidate cache for a specific table (e.g., after ALTER TABLE)
69 pub fn invalidate(&self, table_name: &str) {
70 self.cache.write().unwrap().remove(table_name);
71 }
72
73 /// Clear entire cache (e.g., after CREATE TABLE or DROP TABLE)
74 pub fn clear(&self) {

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected