Documentation ¶
Index ¶
- func ParseCreateTableStmt(create string) (*ast.CreateTableStmt, error)
- func TrimCharacterSetFromRawCreateTableSQL(sql string) string
- func TrimCollateOptionFromCols(create *ast.CreateTableStmt)
- func TrimCollateOptionFromCreateTable(create *ast.CreateTableStmt)
- func TrimConstraintCheckFromCreateTable(create *ast.CreateTableStmt)
- type Snapshot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCreateTableStmt ¶ added in v1.3.0
func ParseCreateTableStmt(create string) (*ast.CreateTableStmt, error)
ParseCreateTableStmt parses CreateTableStmt as *ast.CreateTableStmt node
func TrimCollateOptionFromCols ¶
func TrimCollateOptionFromCols(create *ast.CreateTableStmt)
func TrimCollateOptionFromCreateTable ¶
func TrimCollateOptionFromCreateTable(create *ast.CreateTableStmt)
func TrimConstraintCheckFromCreateTable ¶
func TrimConstraintCheckFromCreateTable(create *ast.CreateTableStmt)
Types ¶
type Snapshot ¶
type Snapshot struct {
// contains filtered or unexported fields
}
func (*Snapshot) HasAnyTable ¶
func (*Snapshot) TableNames ¶
Click to show internal directories.
Click to hide internal directories.