Documentation ¶
Index ¶
Constants ¶
View Source
const ( STableType = iota + 1 CommonTableType )
View Source
const ( TimestampType = "TIMESTAMP" IntType = "INT" BigIntType = "BIGINT" FloatType = "FLOAT" DoubleType = "DOUBLE" BinaryType = "BINARY" SmallIntType = "SMALLINT" TinyIntType = "TINYINT" BoolType = "BOOL" NCharType = "NCHAR" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateTable ¶
type CreateTable struct {
// contains filtered or unexported fields
}
func NewCreateTableClause ¶
func NewCreateTableClause(tables []*Table) CreateTable
NewCreateTableClause Create table clause
func (CreateTable) AddTables ¶
func (c CreateTable) AddTables(tables ...*Table) CreateTable
AddTables Add tables to clause
func (CreateTable) Build ¶
func (c CreateTable) Build(builder clause.Builder)
func (CreateTable) MergeClause ¶
func (c CreateTable) MergeClause(clause *clause.Clause)
MergeClause merge CREATE TABLE by clauses
func (CreateTable) Name ¶
func (CreateTable) Name() string
Click to show internal directories.
Click to hide internal directories.