Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ITableName ¶
type ITableName interface {
TableName() string
}
type Schema ¶
type Schema struct {
Model interface{}
Name string
Fields []*Field // 结构中的field
FieldNames []string // sql 中的field
SubTableFile string
Auto string
// contains filtered or unexported fields
}
Schema represents a table of database
func ParseTable ¶
Click to show internal directories.
Click to hide internal directories.