Documentation
¶
Index ¶
- func GetConn() *gorm.DB
- func MysqlDialector(configMap map[string]string) (dialector gorm.Dialector, err error)
- func OracleDialector(configMap map[string]string) (dialector gorm.Dialector, err error)
- type Config
- type Dialector
- func (d Dialector) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{})
- func (d Dialector) DataTypeOf(field *schema.Field) string
- func (d Dialector) DefaultValueOf(field *schema.Field) clause.Expression
- func (d Dialector) Explain(sql string, vars ...interface{}) string
- func (d Dialector) Initialize(db *gorm.DB) (err error)
- func (d Dialector) Migrator(db *gorm.DB) gorm.Migrator
- func (d Dialector) Name() string
- func (d Dialector) QuoteTo(writer clause.Writer, str string)
- type Model
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MysqlDialector ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.