{"modulePath":"github.com/sunary/sqlize","version":"v1.0.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package sqlparser\n\n## Types\n\n```go\ntype Parser struct {\n\tMigration element.Migration\n\t// contains filtered or unexported fields\n}\n```\nParser ...\n\n```go\nfunc NewParser(dialect sqltemplates.SqlDialect, lowercase, ignoreOrder bool) *Parser\n```\nNewParser ...\n\n```go\nfunc (p *Parser) Diff(old Parser)\n```\nDiff differ between 2 migrations\n\n```go\nfunc (p *Parser) Enter(in ast.Node) (ast.Node, bool)\n```\nWalk with statements:\n\nDropTableStmt AlterTableStmt DropIndexStmt CreateTableStmt CreateIndexStmt\n\n```go\nfunc (p *Parser) HashValue() int64\n```\nHashValue ...\n\n```go\nfunc (p *Parser) Leave(in ast.Node) (ast.Node, bool)\n```\nLeave ...\n\n```go\nfunc (p Parser) MigrationDown() string\n```\nMigrationDown migration down\n\n```go\nfunc (p Parser) MigrationUp() string\n```\nMigrationUp migration up\n\n```go\nfunc (p *Parser) Parser(sql string) error\n```\nParser ...\n\n```go\nfunc (p *Parser) ParserMysql(sql string) error\n```\nParserMysql ...\n\n```go\nfunc (p *Parser) ParserPostgresql(sql string) error\n```\nParserPostgresql ...\n\n```go\nfunc (p *Parser) ParserSqlite(sql string) error\n```\nParserSqlite ...\n\n```go\nfunc (p *Parser) Visit(node sqlite.Node) (w sqlite.Visitor, n sqlite.Node, err error)\n```\nWalk with statements:\n\nCreateTableStatement CreateIndexStatement DropTableStatement DropIndexStatement AlterTableStatement\n\nsqlite does not support drop column\n\n```go\nfunc (p Parser) VisitEnd(node sqlite.Node) (sqlite.Node, error)\n```\n\n","path":"github.com/sunary/sqlize/sqlparser","name":"sqlparser","synopsis":"","isRedistributable":true}
