pub fn query_ast(
store: &Store,
repo_id: &str,
raw: &Query,
opts: QueryOptions<'_>,
semantic: HashMap<String, SemanticVec>,
) -> Result<OqxResult>Expand description
Run an already-parsed query (§1.4) — the AST entry the selector compile
uses (spec/mutate §11.8: the selector’s tree with the templates’ slot
projections appended runs as any query does; the reserved-alias check is
the source entry’s, so the appended __omg_sel_* items pass). semantic
holds the embedded phrases (embed_phrases); opts.provider is not
read here. Unknown names (4.6) default to UnknownNames::Refuse here:
this entry’s caller is the write selector, where a name no row carries
would select every row; the source entry passes Hint.