Documentation
¶
Index ¶
Constants ¶
View Source
const ( CreateTableType = "CREATE_TABLE" RemoveTableType = "REMOVE_TABLE" RenameTableType = "RENAME_TABLE" CreateColumnType = "CREATE_COLUMN" ChangeColumnType = "CHANGE_COLUMN" RemoveColumnType = "REMOVE_COLUMN" RenameColumnType = "RENAME_COLUMN" CreateIndexType = "CREATE_INDEX" ChangeIndexType = "CHANGE_INDEX" RemoveIndexType = "REMOVE_INDEX" RenameIndexType = "RENAME_INDEX" DDLType = "DDL" )
Variables ¶
View Source
var TableOperations = []string{ CreateTableType, RemoveTableType, RenameTableType, }
Functions ¶
This section is empty.
Types ¶
type Operation ¶
func ParseOperations ¶
func (*Operation) IsTableOperation ¶
func (*Operation) UnmarshalJSON ¶
type RawOperation ¶
type RawOperation struct {
Type string `json:"type"`
Spec json.RawMessage `json:"spec"`
}
Click to show internal directories.
Click to hide internal directories.