Documentation
¶
Index ¶
- Constants
- Variables
- func DataTypeToSQL(dtype DataType, typeSize int64) string
- func DataTypeToSQLNew(dtype DataType, typeSize int64) (string, int64)
- func SQLEncodeData(data interface{}, datatype DataType, semtype string) string
- type Command
- type CommandColumn
- type CommandList
- type DataType
- type Operation
Constants ¶
View Source
const ( UnknownType = iota VarcharType IntegerType FloatType BooleanType DateType TimeType TimetzType TimestampType TimestamptzType JSONType )
Variables ¶
View Source
var Tenants []string
Functions ¶
func DataTypeToSQL ¶
func DataTypeToSQLNew ¶ added in v0.0.2
func SQLEncodeData ¶
Types ¶
type Command ¶
type Command struct { Op Operation SchemaName string TableName string Origin string Column []CommandColumn ChangeEvent *change.Event }
type CommandColumn ¶
type CommandList ¶
type CommandList struct {
Cmd []Command
}
Click to show internal directories.
Click to hide internal directories.