Versions in this module Expand all Collapse all v1 v1.0.7 Apr 14, 2021 Changes in this version + func New(config Config) gorm.Dialector + func Open(dsn string) gorm.Dialector + func Update(db *gorm.DB) + type Column struct + func (c Column) DatabaseTypeName() string + func (c Column) DecimalSize() (precision int64, scale int64, ok bool) + func (c Column) Length() (length int64, ok bool) + func (c Column) Name() string + func (c Column) Nullable() (nullable bool, ok bool) + type Config struct + Conn gorm.ConnPool + DSN string + DefaultDatetimePrecision *int + DefaultStringSize uint + DisableDatetimePrecision bool + DontSupportForShareClause bool + DontSupportRenameColumn bool + DontSupportRenameIndex bool + DriverName string + SkipInitializeWithVersion bool + type Dialector struct + func (dialectopr Dialector) RollbackTo(tx *gorm.DB, name string) error + func (dialectopr Dialector) SavePoint(tx *gorm.DB, name string) error + func (dialector Dialector) Apply(config *gorm.Config) error + func (dialector Dialector) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{}) + func (dialector Dialector) ClauseBuilders() map[string]clause.ClauseBuilder + func (dialector Dialector) DataTypeOf(field *schema.Field) string + func (dialector Dialector) DefaultValueOf(field *schema.Field) clause.Expression + func (dialector Dialector) Explain(sql string, vars ...interface{}) string + func (dialector Dialector) Initialize(db *gorm.DB) (err error) + func (dialector Dialector) Migrator(db *gorm.DB) gorm.Migrator + func (dialector Dialector) Name() string + func (dialector Dialector) QuoteTo(writer clause.Writer, str string) + type Migrator struct + func (m Migrator) AlterColumn(value interface{}, field string) error + func (m Migrator) ColumnTypes(value interface{}) (columnTypes []gorm.ColumnType, err error) + func (m Migrator) DropConstraint(value interface{}, name string) error + func (m Migrator) DropTable(values ...interface{}) error + func (m Migrator) FullDataTypeOf(field *schema.Field) clause.Expr + func (m Migrator) RenameColumn(value interface{}, oldName, newName string) error + func (m Migrator) RenameIndex(value interface{}, oldName, newName string) error