Invalidate all cached schema information
()
| 65 | |
| 66 | /// Invalidate all cached schema information |
| 67 | pub 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 |
| 74 | async fn get_table_schema_info(table_name: &str, db: &Arc<DbHandler>, session_id: &Uuid) -> TableSchemaInfo { |