Skip to main content

Module planner_query

Module planner_query 

Source
Expand description

sqry plan-query — structural query execution through the sqry-db planner.

Bridges the text-syntax parser (sqry_db::planner::parse_query) and the plan executor (sqry_db::planner::execute_plan) to a user-facing CLI command. DB13 scope note: the legacy sqry query engine remains alongside this subcommand; DB14+ migrates the traversal handlers and eventually replaces the legacy path.

§Output

Results are printed one per line as <kind> <qualified_or_short_name> <file>:<line>. When cli.json is set, each row is serialized as a JSON object instead, matching the shape other sqry CLI commands use for JSON output.

Structs§

PlanQueryHit
One row of CLI / JSON output describing a matched node.

Functions§

run_planner_query
Runs the sqry plan-query subcommand.