Documentation
¶
Index ¶
- type Mysql
- func (s Mysql) BuildForeignKeyName(tableName, field, dest string) string
- func (s Mysql) CurrentDatabase() (name string)
- func (Mysql) DataTypeOf(field *model.StructField) (string, error)
- func (Mysql) GetName() string
- func (s Mysql) HasForeignKey(tableName string, foreignKeyName string) bool
- func (Mysql) Quote(key string) string
- func (s Mysql) RemoveIndex(tableName string, indexName string) error
- func (Mysql) SelectFromDummyTable() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mysql ¶
func (Mysql) BuildForeignKeyName ¶
func (Mysql) CurrentDatabase ¶
func (Mysql) DataTypeOf ¶
func (Mysql) DataTypeOf(field *model.StructField) (string, error)
Get Data Type for MySQL Dialect
func (Mysql) HasForeignKey ¶
func (Mysql) SelectFromDummyTable ¶
Click to show internal directories.
Click to hide internal directories.