Skip to main content

run_planner_query

Function run_planner_query 

Source
pub fn run_planner_query(
    cli: &Cli,
    query: &str,
    path: Option<&str>,
    limit: usize,
) -> Result<()>
Expand description

Runs the sqry plan-query subcommand.

ยงErrors

Returns an error if:

  • No .sqry-index can be discovered from the working directory.
  • The indexed graph fails to load.
  • The text query fails to parse or the resulting plan fails validation.