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

Method execute_optimized_query

src/optimization/read_only_optimizer.rs:401–410  ·  view source on GitHub ↗

Execute optimized query for medium complexity

(
        &self,
        conn: &Connection,
        query: &str,
        plan: &CachedQueryPlan,
    )

Source from the content-addressed store, hash-verified

399
400 /// Execute optimized query for medium complexity
401 fn execute_optimized_query(
402 &self,
403 conn: &Connection,
404 query: &str,
405 plan: &CachedQueryPlan,
406 ) -> Result<Option<DbResponse>, rusqlite::Error> {
407 // For now, use the same direct execution
408 // In the future, this could implement query-specific optimizations
409 self.execute_simple_query_direct(conn, query, plan)
410 }
411
412 /// Extract table name from SELECT query
413 fn extract_table_name(&self, query: &str) -> Option<String> {

Callers 1

Calls 1

Tested by

no test coverage detected