Documentation ¶
Index ¶
- type AST
- type ASTResult
- type ParseResult
- type Parser
- func (p *Parser) Astify(sql string, opt *types.Option) (*ASTResult, error)
- func (p *Parser) ColumnList(sql string, opt *types.Option) ([]string, error)
- func (p *Parser) Parse(sql string, opt *types.Option) (*ParseResult, error)
- func (p *Parser) Sqlify(ast AST, opt *types.Option) (string, error)
- func (p *Parser) TableList(sql string, opt *types.Option) ([]string, error)
- func (p *Parser) WhiteListCheck(sql string, whiteList []string, opt *types.Option) error
- type TableColumnList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ColumnList ¶
columnList(sql: string, opt?: Option): string[];
type TableColumnList ¶
Click to show internal directories.
Click to hide internal directories.