Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 631 Bytes

File metadata and controls

9 lines (7 loc) · 631 Bytes

Dev CLI

Use the CLI here to easily get output from the query planner. The following commands are available, for each phase of the plan building (run from the root of the workspace):

  • cargo run graph SUPERGRAPH_PATH: constructs and outputs the graph as graphviz.
  • cargo run paths SUPERGRAPH_PATH OPERATION_PATH: find best paths for all leafs.
  • cargo run tree SUPERGRAPH_PATH OPERATION_PATH: find best paths for all leafs, and prints the merged fetch tree for all fields.
  • cargo run fetch_graph SUPERGRAPH_PATH OPERATION_PATH: prints the fetch graph
  • cargo run plan SUPERGRAPH_PATH OPERATION_PATH: plan and print