Versions in this module Expand all Collapse all v0 v0.1.0 Apr 5, 2026 Changes in this version + type BinaryExpr struct + Left Expr + Op string + Right Expr + type Clause interface + type CreateClause struct + Pattern []PathPattern + type DeleteClause struct + Detach bool + Exprs []Expr + type Direction int + const DirBoth + const DirLeft + const DirRight + type Executor struct + func NewExecutor(g *graph.Graph) *Executor + func (e *Executor) Execute(query string) (*Result, error) + func (e *Executor) ExecuteAndReturn(query string) (*Result, error) + type Expr interface + type FuncCall struct + Args []Expr + Distinct bool + Name string + type Ident struct + Name string + type IsNullExpr struct + Expr Expr + Negate bool + type Lexer struct + type ListComprehension struct + InExpr Expr + MapExpr Expr + Variable string + Where Expr + type ListLiteral struct + Elements []Expr + type Literal struct + Value any + type MatchClause struct + Optional bool + Pattern []PathPattern + type NodePattern struct + Labels []string + Properties map[string]Expr + Variable string + type OrderItem struct + Desc bool + Expr Expr + type Parser struct + type PathPattern struct + Elements []PatternElement + Variable string + type PatternElement interface + type PropertyAccess struct + Property string + Variable string + type Query struct + Clauses []Clause + func Parse(input string) (*Query, error) + type RelPattern struct + Direction Direction + MaxHops *int + MinHops *int + Types []string + Variable string + type Result struct + Columns []string + Rows []map[string]any + type ReturnClause struct + Distinct bool + Items []ReturnItem + Limit *Expr + OrderBy []OrderItem + Skip *Expr + type ReturnItem struct + Alias string + Expr Expr + type SetClause struct + Items []SetItem + type SetItem struct + Property PropertyAccess + Value Expr + type ShortestPathExpr struct + Path PathPattern + type Token struct + FloatVal float64 + IntVal int64 + Pos int + Type TokenType + Value string + func Lex(input string) ([]Token, error) + type TokenType int + const TokenAnd + const TokenArrowL + const TokenArrowR + const TokenAs + const TokenAsc + const TokenAvg + const TokenBy + const TokenCollect + const TokenColon + const TokenComma + const TokenContains + const TokenCount + const TokenCreate + const TokenDash + const TokenDashDash + const TokenDelete + const TokenDesc + const TokenDetach + const TokenDistinct + const TokenDot + const TokenDotDot + const TokenEOF + const TokenEnds + const TokenEq + const TokenFalse + const TokenFloat + const TokenGt + const TokenGte + const TokenIdent + const TokenIn + const TokenInt + const TokenIs + const TokenLBrace + const TokenLBracket + const TokenLParen + const TokenLimit + const TokenLt + const TokenLte + const TokenMatch + const TokenMax + const TokenMin + const TokenMinus + const TokenNeq + const TokenNot + const TokenNull + const TokenOptional + const TokenOr + const TokenOrder + const TokenPercent + const TokenPipe + const TokenPlus + const TokenRBrace + const TokenRBracket + const TokenRParen + const TokenReturn + const TokenSet + const TokenShortestPath + const TokenSize + const TokenSkipKw + const TokenSlash + const TokenStar + const TokenStarts + const TokenString + const TokenSum + const TokenTrue + const TokenUnwind + const TokenWhere + const TokenWith + type UnaryExpr struct + Expr Expr + Op string + type UnwindClause struct + Alias string + Expr Expr + type WhereClause struct + Expr Expr + type WithClause struct + Distinct bool + Items []ReturnItem + Limit *Expr + OrderBy []OrderItem + Skip *Expr + Where *WhereClause