tree

package
v0.0.0-...-df06595 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColumnName

type ColumnName struct {
	Path Name
}

func (ColumnName) String

func (n ColumnName) String() string

type ColumnNameList

type ColumnNameList []ColumnName

func (ColumnNameList) String

func (n ColumnNameList) String() string

type CommandStatement

type CommandStatement interface {
	Statement
	// contains filtered or unexported methods
}

type Direction

type Direction int8

Direction for ordering results.

const (
	DefaultDirection Direction = iota
	Ascending
	Descending
)

Direction values.

func (Direction) String

func (i Direction) String() string

type Eval

type Eval struct {
	Es EvalExprList
}

func (*Eval) String

func (n *Eval) String() string

type EvalExpr

type EvalExpr struct {
	As Name
	E  ExprStatement
}

func (EvalExpr) String

func (n EvalExpr) String() string

type EvalExprList

type EvalExprList []EvalExpr

func (EvalExprList) String

func (ns EvalExprList) String() string

type ExprStatement

type ExprStatement interface {
	Statement
	// contains filtered or unexported methods
}

type ExprStatements

type ExprStatements []ExprStatement

func (ExprStatements) String

func (es ExprStatements) String() string

type Extract

type Extract struct {
	Script ExtractScript
	Es     EvalExprList
}

func (*Extract) String

func (e *Extract) String() string

type ExtractScript

type ExtractScript struct {
	Lua     *Value
	LuaFile *Value
}

type ExtractStatement

type ExtractStatement interface {
	String() string
}

type FuncExpr

type FuncExpr struct {
	Name string
	Args ExprStatements
}

func (*FuncExpr) String

func (e *FuncExpr) String() string

type Import

type Import struct {
	Paths []*Value
}

func (Import) String

func (n Import) String() string

type Limit

type Limit struct {
	Count *Value
}

func (*Limit) String

func (n *Limit) String() string

type Name

type Name string

func (Name) String

func (n Name) String() string

type NameList

type NameList []Name

func (NameList) String

func (n NameList) String() string

type Order

type Order struct {
	Type Direction
	E    ExprStatement
}

func (*Order) String

func (n *Order) String() string

type OrderBy

type OrderBy struct {
	Limit  *Value
	Orders OrderList
}

func (OrderBy) String

func (n OrderBy) String() string

type OrderList

type OrderList []*Order

type ParenExpr

type ParenExpr struct {
	E ExprStatement
}

func (*ParenExpr) String

func (e *ParenExpr) String() string

type Select

type Select struct {
	Cs []CommandStatement
}

func (*Select) String

func (n *Select) String() string

type Stat

type Stat struct {
	As Name
	F  Name // func name
	Es ExprStatements
}

func (Stat) String

func (n Stat) String() string

type StatList

type StatList []Stat

func (StatList) String

func (ns StatList) String() string

type Statement

type Statement interface {
	String() string
}

type Stats

type Stats struct {
	Ss StatList
	By ColumnNameList
}

func (*Stats) String

func (n *Stats) String() string

type TableName

type TableName struct {
	N ColumnName
}

func (*TableName) String

func (n *TableName) String() string

type Value

type Value struct {
	Isnull bool
	Value  constant.Value
}

func (*Value) String

func (e *Value) String() string

type Where

type Where struct {
	E ExprStatement
}

func (*Where) String

func (n *Where) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL