aarondb/engine/planner

Types

pub type QueryPlan {
  QueryPlan(
    query: ast.Query,
    clauses: List(ast.BodyClause),
    aggregates: dict.Dict(String, ast.AggFunc),
  )
}

Constructors

Values

pub fn build(query: ast.Query) -> QueryPlan
pub fn order_rows(
  rows: List(dict.Dict(String, fact.Value)),
  order_by: option.Option(ast.OrderBy),
) -> List(dict.Dict(String, fact.Value))
pub fn page_rows(
  rows: List(dict.Dict(String, fact.Value)),
  offset: option.Option(Int),
  limit: option.Option(Int),
) -> List(dict.Dict(String, fact.Value))
Search Document