Helper to create plan cache key from query and context
(
query_ast_hash: u64,
schema_hash: u64,
optimization_level: &str,
hints: Vec<String>,
)
| 365 | |
| 366 | /// Helper to create plan cache key from query and context |
| 367 | pub fn create_plan_cache_key( |
| 368 | query_ast_hash: u64, |
| 369 | schema_hash: u64, |
| 370 | optimization_level: &str, |
| 371 | hints: Vec<String>, |
| 372 | ) -> PlanCacheKey { |
| 373 | PlanCacheKey { |
| 374 | query_structure_hash: query_ast_hash, |
| 375 | schema_hash, |
| 376 | optimization_level: optimization_level.to_string(), |
| 377 | hints, |
| 378 | } |
| 379 | } |
no outgoing calls
no test coverage detected