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

Function invalidate_all_schema_cache

src/query/executor.rs:67–71  ·  view source on GitHub ↗

Invalidate all cached schema information

()

Source from the content-addressed store, hash-verified

65
66/// Invalidate all cached schema information
67pub fn invalidate_all_schema_cache() {
68 let mut cache = TABLE_SCHEMA_CACHE.write();
69 cache.clear();
70 debug!("Invalidated all schema cache");
71}
72
73/// Get all schema information for a table in one query
74async fn get_table_schema_info(table_name: &str, db: &Arc<DbHandler>, session_id: &Uuid) -> TableSchemaInfo {

Callers 1

execute_ddlMethod · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected