Documentation
¶
Index ¶
- type Column
- func (c *Column) GetCharacterMaximumLength() int
- func (c *Column) GetCharacterOctetLength() int
- func (c *Column) GetCharacterSetName() string
- func (c *Column) GetCollationName() string
- func (c *Column) GetColumnComment() string
- func (c *Column) GetColumnDefault() string
- func (c *Column) GetColumnKey() string
- func (c *Column) GetColumnName() string
- func (c *Column) GetColumnType() string
- func (c *Column) GetDataType() string
- func (c *Column) GetDatetimePrecision() int
- func (c *Column) GetExtra() string
- func (c *Column) GetGenerationExpression() string
- func (c *Column) GetIsNullable() string
- func (c *Column) GetNumericPrecision() int
- func (c *Column) GetNumericScale() int
- func (c *Column) GetOrdinalPosition() int
- func (c *Column) GetPrivileges() string
- func (c *Column) GetSrsId() int
- func (c *Column) GetTableCatalog() string
- func (c *Column) GetTableName() string
- func (c *Column) GetTableSchema() string
- type Generator
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Column ¶
type Column struct { TableCatalog *string // 表目录 TableSchema *string // 表模式 TableName *string // 表名称 ColumnName *string // 字段名称 OrdinalPosition *int // 字段顺序 ColumnDefault *string // 字段默认值 IsNullable *string // 是否可空 DataType *string // 字段类型 CharacterMaximumLength *int // 字段最大长度 CharacterOctetLength *int // 字段最大长度 NumericPrecision *int // 数字精度 NumericScale *int // 数字精度 DatetimePrecision *int // 时间精度 CharacterSetName *string // 字符集 CollationName *string // 字符集排序规则 ColumnType *string // 字段类型 ColumnKey *string // 字段键 Extra *string // 额外信息 Privileges *string // 权限 ColumnComment *string // 字段注释 GenerationExpression *string // 字段生成表达式 SrsId *int // 空间参考系 }
func (*Column) GetCharacterMaximumLength ¶
func (*Column) GetCharacterOctetLength ¶
func (*Column) GetCharacterSetName ¶
func (*Column) GetCollationName ¶
func (*Column) GetColumnComment ¶
func (*Column) GetColumnDefault ¶
func (*Column) GetColumnKey ¶
func (*Column) GetColumnName ¶
func (*Column) GetColumnType ¶
func (*Column) GetDataType ¶
func (*Column) GetDatetimePrecision ¶
func (*Column) GetGenerationExpression ¶
func (*Column) GetIsNullable ¶
func (*Column) GetNumericPrecision ¶
func (*Column) GetNumericScale ¶
func (*Column) GetOrdinalPosition ¶
func (*Column) GetPrivileges ¶
func (*Column) GetTableCatalog ¶
func (*Column) GetTableName ¶
func (*Column) GetTableSchema ¶
Click to show internal directories.
Click to hide internal directories.