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

Function invalidate_table_schema_cache

src/query/executor.rs:60–64  ·  view source on GitHub ↗

Invalidate cached schema information for a table

(table_name: &str)

Source from the content-addressed store, hash-verified

58
59/// Invalidate cached schema information for a table
60fn invalidate_table_schema_cache(table_name: &str) {
61 let mut cache = TABLE_SCHEMA_CACHE.write();
62 cache.remove(table_name);
63 debug!("Invalidated schema cache for table: {}", table_name);
64}
65
66/// Invalidate all cached schema information
67pub fn invalidate_all_schema_cache() {

Callers 1

execute_ddlMethod · 0.85

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected