Documentation
¶
Index ¶
- type Parser
- func (p *Parser) Diff(old Parser)
- func (p *Parser) Enter(in ast.Node) (ast.Node, bool)
- func (p *Parser) HashValue() int64
- func (p *Parser) Leave(in ast.Node) (ast.Node, bool)
- func (p Parser) MigrationDown() string
- func (p Parser) MigrationUp() string
- func (p *Parser) Parser(sql string) error
- func (p *Parser) ParserMysql(sql string) error
- func (p *Parser) ParserPostgresql(sql string) error
- func (p *Parser) ParserSqlite(sql string) error
- func (p *Parser) Visit(node sqlite.Node) (w sqlite.Visitor, err error)
- func (p Parser) VisitEnd(node sqlite.Node) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
Parser ...
func NewParser ¶
func NewParser(dialect sql_templates.SqlDialect, lowercase, ignoreOrder bool) *Parser
NewParser ...
func (*Parser) Enter ¶
Walk with statements:
DropTableStmt AlterTableStmt DropIndexStmt CreateTableStmt CreateIndexStmt
func (*Parser) ParserPostgresql ¶
ParserPostgresql ...
Click to show internal directories.
Click to hide internal directories.