Versions in this module Expand all Collapse all v0 v0.2.0 Apr 17, 2024 v0.1.0 Apr 17, 2024 Changes in this version + var Statements = []Statement + type Alter struct + Expr any + Type Statement + type Create struct + AlgorithmOption struct{ ... } + As string + CreateDefinitions []any + Database string + IfNotExists string + IgnoreReplace string + Index string + IndexColumns []any + IndexOptions []any + IndexType string + IndexUsing struct{ ... } + Keyword string + Like struct{ ... } + LockOption struct{ ... } + OnKw string + QueryExpr any + Table []struct{ ... } + TableOptions []any + Temporary string + Type Statement + type Delete struct + From []any + Table any + Type Statement + Where any + type Drop struct + Keyword string + Name []any + Type Statement + type Insert struct + Columns []string + DB string + Table any + Type Statement + Values []InsertValue + type InsertValue struct + Type string + Value []any + type Option struct + Database *string + ParseOptions *ParseOptions + TrimQuery *bool + Type *string + func (o *Option) SetDatabase(db string) + func (o *Option) SetParseOptions(po ParseOptions) + func (o *Option) SetTrimQuery(b bool) + func (o *Option) SetType(t string) + func (o *Option) ToMap() (map[string]any, error) + type ParseOptions struct + IncludeLocations bool + type Replace struct + Columns []string + DB string + Table any + Type Statement + Values []ReplaceValue + type ReplaceValue struct + Type string + Value []any + type Select struct + Columns []any + Distinct string + Having []any + Options []any + Parentheses bool + ParenthesesSymbol bool + Type Statement + Where any + With []With + type Statement string + const AlterStatement + const CreateStatement + const DeleteStatement + const DropStatement + const InsertStatement + const ReplaceStatement + const SelectStatement + const UnknownStatement + const UpdateStatement + const UseStatement + func StatementFrom(t string) Statement + func (s Statement) String() string + type Update struct + DB string + Table []any + Type Statement + Where any + type Use struct + DB string + Type Statement + type With struct + Columns []string + Name struct{ ... } + Stmt struct{ ... }