pub fn parse(nql: &str) -> Result<Query, Error>Expand description
Execute a NQL query against the DAG database.
Parse NQL into a Query WITHOUT touching the database.
execute already does exactly this as its first step; exposing it separately
lets callers validate a query before deciding to run it. The natural-language
planner (/v1/databases/:name/cast) uses it to answer βis this runnable?β
without side effects β checking the text against the real grammar rather than
pattern-matching it, because the parser is the only authority on that.