Documentation ¶
Index ¶
- type ColumnType
- func (c *ColumnType) AddBigint() *ColumnType
- func (c *ColumnType) AddBinary(strMaxLen int) *ColumnType
- func (c *ColumnType) AddBool() *ColumnType
- func (c *ColumnType) AddDouble() *ColumnType
- func (c *ColumnType) AddFloat() *ColumnType
- func (c *ColumnType) AddGeometry(strMaxLen int) *ColumnType
- func (c *ColumnType) AddInt() *ColumnType
- func (c *ColumnType) AddJson(strMaxLen int) *ColumnType
- func (c *ColumnType) AddNchar(strMaxLen int) *ColumnType
- func (c *ColumnType) AddSmallint() *ColumnType
- func (c *ColumnType) AddTimestamp() *ColumnType
- func (c *ColumnType) AddTinyint() *ColumnType
- func (c *ColumnType) AddUBigint() *ColumnType
- func (c *ColumnType) AddUInt() *ColumnType
- func (c *ColumnType) AddUSmallint() *ColumnType
- func (c *ColumnType) AddUTinyint() *ColumnType
- func (c *ColumnType) AddVarBinary(strMaxLen int) *ColumnType
- func (c *ColumnType) GetValue() ([]*types.ColumnType, error)
- type Param
- func (p *Param) AddBigint(value int) *Param
- func (p *Param) AddBinary(value []byte) *Param
- func (p *Param) AddBool(value bool) *Param
- func (p *Param) AddDouble(value float64) *Param
- func (p *Param) AddFloat(value float32) *Param
- func (p *Param) AddGeometry(value []byte) *Param
- func (p *Param) AddInt(value int) *Param
- func (p *Param) AddJson(value []byte) *Param
- func (p *Param) AddNchar(value string) *Param
- func (p *Param) AddNull() *Param
- func (p *Param) AddSmallint(value int) *Param
- func (p *Param) AddTimestamp(value time.Time, precision int) *Param
- func (p *Param) AddTinyint(value int) *Param
- func (p *Param) AddUBigint(value uint) *Param
- func (p *Param) AddUInt(value uint) *Param
- func (p *Param) AddUSmallint(value uint) *Param
- func (p *Param) AddUTinyint(value uint) *Param
- func (p *Param) AddValue(value interface{}) *Param
- func (p *Param) AddVarBinary(value []byte) *Param
- func (p *Param) GetValues() []driver.Value
- func (p *Param) SetBigint(offset int, value int)
- func (p *Param) SetBinary(offset int, value []byte)
- func (p *Param) SetBool(offset int, value bool)
- func (p *Param) SetDouble(offset int, value float64)
- func (p *Param) SetFloat(offset int, value float32)
- func (p *Param) SetGeometry(offset int, value []byte)
- func (p *Param) SetInt(offset int, value int)
- func (p *Param) SetJson(offset int, value []byte)
- func (p *Param) SetNchar(offset int, value string)
- func (p *Param) SetNull(offset int)
- func (p *Param) SetSmallint(offset int, value int)
- func (p *Param) SetTimestamp(offset int, value time.Time, precision int)
- func (p *Param) SetTinyint(offset int, value int)
- func (p *Param) SetUBigint(offset int, value uint)
- func (p *Param) SetUInt(offset int, value uint)
- func (p *Param) SetUSmallint(offset int, value uint)
- func (p *Param) SetUTinyint(offset int, value uint)
- func (p *Param) SetVarBinary(offset int, value []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnType ¶
type ColumnType struct {
// contains filtered or unexported fields
}
func NewColumnType ¶
func NewColumnType(size int) *ColumnType
func NewColumnTypeWithValue ¶
func NewColumnTypeWithValue(value []*types.ColumnType) *ColumnType
func (*ColumnType) AddBigint ¶
func (c *ColumnType) AddBigint() *ColumnType
func (*ColumnType) AddBinary ¶
func (c *ColumnType) AddBinary(strMaxLen int) *ColumnType
func (*ColumnType) AddBool ¶
func (c *ColumnType) AddBool() *ColumnType
func (*ColumnType) AddDouble ¶
func (c *ColumnType) AddDouble() *ColumnType
func (*ColumnType) AddFloat ¶
func (c *ColumnType) AddFloat() *ColumnType
func (*ColumnType) AddGeometry ¶
func (c *ColumnType) AddGeometry(strMaxLen int) *ColumnType
func (*ColumnType) AddInt ¶
func (c *ColumnType) AddInt() *ColumnType
func (*ColumnType) AddJson ¶
func (c *ColumnType) AddJson(strMaxLen int) *ColumnType
func (*ColumnType) AddNchar ¶
func (c *ColumnType) AddNchar(strMaxLen int) *ColumnType
func (*ColumnType) AddSmallint ¶
func (c *ColumnType) AddSmallint() *ColumnType
func (*ColumnType) AddTimestamp ¶
func (c *ColumnType) AddTimestamp() *ColumnType
func (*ColumnType) AddTinyint ¶
func (c *ColumnType) AddTinyint() *ColumnType
func (*ColumnType) AddUBigint ¶
func (c *ColumnType) AddUBigint() *ColumnType
func (*ColumnType) AddUInt ¶
func (c *ColumnType) AddUInt() *ColumnType
func (*ColumnType) AddUSmallint ¶
func (c *ColumnType) AddUSmallint() *ColumnType
func (*ColumnType) AddUTinyint ¶
func (c *ColumnType) AddUTinyint() *ColumnType
func (*ColumnType) AddVarBinary ¶
func (c *ColumnType) AddVarBinary(strMaxLen int) *ColumnType
func (*ColumnType) GetValue ¶
func (c *ColumnType) GetValue() ([]*types.ColumnType, error)
type Param ¶
type Param struct {
// contains filtered or unexported fields
}
func NewParamsWithRowValue ¶
func (*Param) AddGeometry ¶
func (*Param) AddSmallint ¶
func (*Param) AddTinyint ¶
func (*Param) AddUBigint ¶
func (*Param) AddUSmallint ¶
func (*Param) AddUTinyint ¶
func (*Param) AddVarBinary ¶
func (*Param) SetGeometry ¶
func (*Param) SetSmallint ¶
func (*Param) SetTimestamp ¶
func (*Param) SetTinyint ¶
func (*Param) SetUBigint ¶
func (*Param) SetUSmallint ¶
func (*Param) SetUTinyint ¶
func (*Param) SetVarBinary ¶
Click to show internal directories.
Click to hide internal directories.