Clear statement cache (useful for DDL operations or testing)
(&self)
| 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) { |