superbigcup325/moonlake/engine does not have a README file

    AggFn

    pub(all) enum AggFn {
    Sum
    Avg
    Count
    CountStar
    CountDistinct
    Min
    Max
    } derive(Eq,
    Debug
    )

    AggFn::equal

    fn AggFn::equal(AggFn, AggFn) -> Bool

    AggFn::not_equal

    fn AggFn::not_equal(x : AggFn, y : AggFn) -> Bool

    AggFn::to_repr

    BoundQuery

    pub struct BoundQuery {
    // private fields
    } derive(
    Debug
    )

    The bound query, ready for the executor.

    ExtractField

    pub(all) enum ExtractField {
    Year
    Month
    Day
    } derive(Eq,
    Debug
    )

    ExtractField::equal

    ExtractField::not_equal

    fn ExtractField::not_equal(x : ExtractField, y : ExtractField) -> Bool

    FromItem

    pub(all) struct FromItem {
    table : TableRef
    tbl_alias : String?
    join : JoinKind
    on : LExpr?
    } derive(Eq,
    Debug
    )

    FromItem::equal

    fn FromItem::equal(FromItem, FromItem) -> Bool

    FromItem::not_equal

    fn FromItem::not_equal(x : FromItem, y : FromItem) -> Bool

    FromItem::to_repr

    JoinKind

    pub(all) enum JoinKind {
    Inner
    Left
    Cross
    } derive(Eq,
    Debug
    )

    How a FROM item attaches to the accumulated rows before it. The first item's kind is meaningless (Inner, ignored).

    JoinKind::equal

    fn JoinKind::equal(JoinKind, JoinKind) -> Bool

    JoinKind::not_equal

    fn JoinKind::not_equal(x : JoinKind, y : JoinKind) -> Bool

    JoinKind::to_repr

    LExpr

    pub(all) enum LExpr {
    Col(String)
    ColQ(String, String)
    Lit(
    Scalar
    )
    Arith(
    ArithOp
    , LExpr, LExpr)
    Cmp(
    CmpOp
    , LExpr, LExpr)
    And(LExpr, LExpr)
    Or(LExpr, LExpr)
    Not(LExpr)
    Between(LExpr, LExpr, LExpr)
    In(LExpr, Array[LExpr])
    NotIn(LExpr, Array[LExpr])
    Like(LExpr, LExpr)
    NotLike(LExpr, LExpr)
    Extract(ExtractField, LExpr)
    Case(Array[(LExpr, LExpr)], LExpr?)
    Agg(AggFn, LExpr?)
    ScalarSub(Select)
    InSelect(LExpr, Select, Bool)
    } derive(Eq,
    Debug
    )

    LExpr::equal

    fn LExpr::equal(LExpr, LExpr) -> Bool

    LExpr::not_equal

    fn LExpr::not_equal(x : LExpr, y : LExpr) -> Bool

    LExpr::to_repr

    OrderItem

    pub(all) struct OrderItem {
    key : LExpr
    desc : Bool
    } derive(Eq,
    Debug
    )

    OrderItem::equal

    fn OrderItem::equal(OrderItem, OrderItem) -> Bool

    OrderItem::not_equal

    fn OrderItem::not_equal(x : OrderItem, y : OrderItem) -> Bool

    Select

    pub(all) struct Select {
    from : Array[FromItem]
    filter : LExpr?
    group_by : Array[LExpr]
    having : LExpr?
    items : Array[SelectItem]
    order_by : Array[OrderItem]
    limit : Int?
    } derive(Eq,
    Debug
    )

    W2 subset: the full select pipeline over a FROM chain joined in written order (left-deep; comma lists behave as INNER joins with the join conditions supplied by WHERE).

    Select::equal

    fn Select::equal(Select, Select) -> Bool

    Select::not_equal

    fn Select::not_equal(x : Select, y : Select) -> Bool

    Select::to_repr

    SelectItem

    pub(all) struct SelectItem {
    expr : LExpr
    label : String?
    } derive(Eq,
    Debug
    )

    SelectItem::equal

    fn SelectItem::equal(SelectItem, SelectItem) -> Bool

    SelectItem::not_equal

    fn SelectItem::not_equal(x : SelectItem, y : SelectItem) -> Bool

    SelectResult

    pub struct SelectResult {
    // private fields
    }

    SelectResult::get

    Scalar cell accessor for result consumption (row, column).

    SelectResult::names

    fn SelectResult::names(self : SelectResult) -> Array[String]

    SelectResult::row_count

    fn SelectResult::row_count(self : SelectResult) -> Int

    TableRef

    pub(all) enum TableRef {
    Named(String)
    Sub(Select)
    } derive(Eq,
    Debug
    )

    TableRef::equal

    fn TableRef::equal(TableRef, TableRef) -> Bool

    TableRef::not_equal

    fn TableRef::not_equal(x : TableRef, y : TableRef) -> Bool

    TableRef::to_repr

    explain

    Render the physical plan without executing it: join steps with pushdown classification, aggregation, projection, ordering.

    parse_select

    fn parse_select(sql : String) -> Select raise
    SqlError

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io