Versions in this module Expand all Collapse all v1 v1.0.0 Sep 14, 2026 Changes in this version + type Error struct + func (*Error) Error() string + func (e *Error) Category() FailureCategory + type FailureCategory string + const FailureSyntax + type Field struct + func (f Field) Name() string + func (f Field) Value() Value + type Kind string + type Node struct + func StatementSequence(result *Result) []*Node + func (n *Node) Field(name string) (Value, bool) + func (n *Node) Fields() []Field + func (n *Node) Kind() Kind + type Result struct + func Parse(sql string) (*Result, error) + func (r *Result) Statements() []*Node + type Value struct + func (v Value) Bool() (bool, bool) + func (v Value) Bytes() ([]byte, bool) + func (v Value) Enum() (string, bool) + func (v Value) Float() (float64, bool) + func (v Value) Int() (int64, bool) + func (v Value) Kind() ValueKind + func (v Value) List() ([]Value, bool) + func (v Value) Node() (*Node, bool) + func (v Value) String() (string, bool) + func (v Value) Uint() (uint64, bool) + type ValueKind uint8 + const ValueBool + const ValueBytes + const ValueEnum + const ValueFloat + const ValueInt + const ValueInvalid + const ValueList + const ValueNode + const ValueString + const ValueUint