Documentation ¶
Index ¶
Constants ¶
View Source
const ( Identity = "seaql" Attribute_Name_Name = "name" Attribute_Name_Engine = "engine" Attribute_Name_Charset = "charset" Attribute_Name_Collate = "collate" Attribute_Name_Index = "index" Attribute_Name_ForeignKey = "foreign_key" Attribute_Name_Type = "type" )
annotation const value
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SeaqlDerive ¶ added in v0.12.2
type SeaqlDerive struct { Enabled bool Name string // 表名 Comment string // 注释 Engine string // 引擎 Charset string // 字符集 Collate string // 排序规则 Indexes []string // 索引 ForeignKeys []string // 外键 }
func ParseSeaqlDerive ¶ added in v0.12.2
func ParseSeaqlDerive(rawTableName string, s protogen.Comments) *SeaqlDerive
type SeaqlValueDerive ¶ added in v0.12.2
type SeaqlValueDerive struct {
Type string
}
func ParseSeaqlValueDerive ¶ added in v0.12.2
func ParseSeaqlValueDerive(s protogen.Comments) (*SeaqlValueDerive, protoutil.CommentLines)
Click to show internal directories.
Click to hide internal directories.