Versions in this module Expand all Collapse all v1 v1.0.0 Nov 5, 2019 Changes in this version + type Gormw interface + AddError func(err error) error + AddForeignKey func(field string, dest string, onDelete string, onUpdate string) Gormw + AddIndex func(indexName string, column ...string) Gormw + AddUniqueIndex func(indexName string, column ...string) Gormw + Assign func(attrs ...interface{}) Gormw + Association func(column string) *gorm.Association + Attrs func(attrs ...interface{}) Gormw + AutoMigrate func(values ...interface{}) Gormw + Begin func() Gormw + Callback func() *gorm.Callback + Close func() error + Commit func() Gormw + CommonDB func() gorm.SQLCommon + Count func(value interface{}) Gormw + Create func(value interface{}) Gormw + CreateTable func(values ...interface{}) Gormw + DB func() *sql.DB + Debug func() Gormw + Delete func(value interface{}, where ...interface{}) Gormw + DropColumn func(column string) Gormw + DropTable func(values ...interface{}) Gormw + DropTableIfExists func(values ...interface{}) Gormw + Error func() error + Exec func(sql string, values ...interface{}) Gormw + Find func(out interface{}, where ...interface{}) Gormw + First func(out interface{}, where ...interface{}) Gormw + FirstOrCreate func(out interface{}, where ...interface{}) Gormw + FirstOrInit func(out interface{}, where ...interface{}) Gormw + Get func(name string) (value interface{}, ok bool) + GetErrors func() (errors []error) + Group func(query string) Gormw + HasTable func(value interface{}) bool + Having func(query string, values ...interface{}) Gormw + InstantSet func(name string, value interface{}) Gormw + Joins func(query string, args ...interface{}) Gormw + Last func(out interface{}, where ...interface{}) Gormw + Limit func(value int) Gormw + LogMode func(enable bool) Gormw + Model func(value interface{}) Gormw + ModifyColumn func(column string, typ string) Gormw + New func() Gormw + NewRecord func(value interface{}) bool + NewScope func(value interface{}) *gorm.Scope + Not func(query interface{}, args ...interface{}) Gormw + Offset func(value int) Gormw + Omit func(columns ...string) Gormw + Or func(query interface{}, args ...interface{}) Gormw + Order func(value string, reorder ...bool) Gormw + Pluck func(column string, value interface{}) Gormw + Preload func(column string, conditions ...interface{}) Gormw + Raw func(sql string, values ...interface{}) Gormw + RecordNotFound func() bool + Related func(value interface{}, foreignKeys ...string) Gormw + RemoveIndex func(indexName string) Gormw + Rollback func() Gormw + RollbackUnlessCommitted func() Gormw + Row func() *sql.Row + Rows func() (*sql.Rows, error) + RowsAffected func() int64 + Save func(value interface{}) Gormw + Scan func(dest interface{}) Gormw + ScanRows func(rows *sql.Rows, result interface{}) error + Scopes func(funcs ...func(*gorm.DB) *gorm.DB) Gormw + Select func(query interface{}, args ...interface{}) Gormw + Set func(name string, value interface{}) Gormw + SetJoinTableHandler func(source interface{}, column string, handler gorm.JoinTableHandlerInterface) + SetLogger func(l gorm.Logger) + SingularTable func(enable bool) + Table func(name string) Gormw + Unscoped func() Gormw + Update func(attrs ...interface{}) Gormw + UpdateColumn func(attrs ...interface{}) Gormw + UpdateColumns func(values interface{}) Gormw + Updates func(values interface{}, ignoreProtectedAttrs ...bool) Gormw + Where func(query interface{}, args ...interface{}) Gormw + func Openw(dialect string, args ...interface{}) (db Gormw, err error) + func Wrap(db *gorm.DB) Gormw