pub async fn execute_queries(
queries: Vec<QueryCommand>,
cache: &CacheManager,
) -> Result<(Vec<FileGroupedResult>, usize, bool)>Expand description
Execute multiple queries with ordering and merging
Queries are executed in order based on their order field.
Results are merged based on the merge flag - only queries with merge: true
contribute to the final result set.
Results are deduplicated by (file_path, start_line, end_line) to avoid duplicates across multiple queries.
Returns a tuple of (merged results, total count across all queries, count_only mode). If count_only is true, all queries had –count flag and only the count should be displayed.