Documentation
¶
Index ¶
- func CreateBeego() helper.ORMInterface
- func CreateBun() helper.ORMInterface
- func CreateDbr() helper.ORMInterface
- func CreateEnt() helper.ORMInterface
- func CreateGodb() helper.ORMInterface
- func CreateGorm() helper.ORMInterface
- func CreateGormPrep() helper.ORMInterface
- func CreateGorp() helper.ORMInterface
- func CreatePg() helper.ORMInterface
- func CreatePgx() helper.ORMInterface
- func CreatePgxPool() helper.ORMInterface
- func CreatePop() helper.ORMInterface
- func CreateRaw() helper.ORMInterface
- func CreateReform() helper.ORMInterface
- func CreateRel() helper.ORMInterface
- func CreateSqlboiler() helper.ORMInterface
- func CreateSqlc() helper.ORMInterface
- func CreateSqlx() helper.ORMInterface
- func CreateUpper() helper.ORMInterface
- func CreateXorm() helper.ORMInterface
- func CreateZorm() helper.ORMInterface
- func NewModel6() *models.Model
- func NewReformModel() *r.ReformModels
- type Beego
- func (beego *Beego) Close() error
- func (beego *Beego) Init() error
- func (beego *Beego) Insert(b *testing.B)
- func (beego *Beego) InsertMulti(b *testing.B)
- func (beego *Beego) Name() string
- func (beego *Beego) Read(b *testing.B)
- func (beego *Beego) ReadSlice(b *testing.B)
- func (beego *Beego) Update(b *testing.B)
- type Bun
- type Dbr
- type Ent
- type Godb
- type Gorm
- type GormPrep
- func (gorm *GormPrep) Close() error
- func (gorm *GormPrep) Init() error
- func (gorm *GormPrep) Insert(b *testing.B)
- func (gorm *GormPrep) InsertMulti(b *testing.B)
- func (gorm *GormPrep) Name() string
- func (gorm *GormPrep) Read(b *testing.B)
- func (gorm *GormPrep) ReadSlice(b *testing.B)
- func (gorm *GormPrep) Update(b *testing.B)
- type Gorp
- type Model
- type Model2
- type Model3
- type Model4
- type Model5
- type Model7
- type Pg
- type Pgx
- type PgxPool
- func (pgx *PgxPool) Close() error
- func (pgx *PgxPool) Init() error
- func (pgx *PgxPool) Insert(b *testing.B)
- func (pgx *PgxPool) InsertMulti(b *testing.B)
- func (pgx *PgxPool) Name() string
- func (pgx *PgxPool) Read(b *testing.B)
- func (pgx *PgxPool) ReadSlice(b *testing.B)
- func (pgx *PgxPool) Update(b *testing.B)
- type Pop
- type Raw
- type Reform
- func (reform *Reform) Close() error
- func (reform *Reform) Init() error
- func (reform *Reform) Insert(b *testing.B)
- func (reform *Reform) InsertMulti(b *testing.B)
- func (reform *Reform) Name() string
- func (reform *Reform) Read(b *testing.B)
- func (reform *Reform) ReadSlice(b *testing.B)
- func (reform *Reform) Update(b *testing.B)
- type Rel
- type Sqlboiler
- func (sqlboiler *Sqlboiler) Close() error
- func (sqlboiler *Sqlboiler) Init() error
- func (sqlboiler *Sqlboiler) Insert(b *testing.B)
- func (sqlboiler *Sqlboiler) InsertMulti(b *testing.B)
- func (sqlboiler *Sqlboiler) Name() string
- func (sqlboiler *Sqlboiler) Read(b *testing.B)
- func (sqlboiler *Sqlboiler) ReadSlice(b *testing.B)
- func (sqlboiler *Sqlboiler) Update(b *testing.B)
- type Sqlc
- type Sqlx
- type Upper
- func (upper *Upper) Close() error
- func (upper *Upper) Init() error
- func (upper *Upper) Insert(b *testing.B)
- func (upper *Upper) InsertMulti(b *testing.B)
- func (upper *Upper) Name() string
- func (upper *Upper) Read(b *testing.B)
- func (upper *Upper) ReadSlice(b *testing.B)
- func (upper *Upper) Update(b *testing.B)
- type Xorm
- type Zorm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBeego ¶
func CreateBeego() helper.ORMInterface
func CreateBun ¶
func CreateBun() helper.ORMInterface
func CreateDbr ¶
func CreateDbr() helper.ORMInterface
func CreateEnt ¶
func CreateEnt() helper.ORMInterface
func CreateGodb ¶
func CreateGodb() helper.ORMInterface
func CreateGorm ¶
func CreateGorm() helper.ORMInterface
func CreateGormPrep ¶
func CreateGormPrep() helper.ORMInterface
func CreateGorp ¶
func CreateGorp() helper.ORMInterface
func CreatePg ¶
func CreatePg() helper.ORMInterface
func CreatePgx ¶
func CreatePgx() helper.ORMInterface
func CreatePgxPool ¶
func CreatePgxPool() helper.ORMInterface
func CreatePop ¶
func CreatePop() helper.ORMInterface
func CreateRaw ¶
func CreateRaw() helper.ORMInterface
func CreateReform ¶
func CreateReform() helper.ORMInterface
func CreateRel ¶
func CreateRel() helper.ORMInterface
func CreateSqlboiler ¶
func CreateSqlboiler() helper.ORMInterface
func CreateSqlc ¶
func CreateSqlc() helper.ORMInterface
func CreateSqlx ¶
func CreateSqlx() helper.ORMInterface
func CreateUpper ¶
func CreateUpper() helper.ORMInterface
func CreateXorm ¶
func CreateXorm() helper.ORMInterface
func CreateZorm ¶
func CreateZorm() helper.ORMInterface
func NewReformModel ¶
func NewReformModel() *r.ReformModels
Types ¶
type Beego ¶
type Beego struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Beego) InsertMulti ¶
type Bun ¶
type Bun struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Bun) InsertMulti ¶
type Dbr ¶
type Dbr struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Dbr) InsertMulti ¶
type Ent ¶
type Ent struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Ent) InsertMulti ¶
type Godb ¶
type Godb struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Godb) InsertMulti ¶
type Gorm ¶
type Gorm struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Gorm) InsertMulti ¶
type GormPrep ¶
type GormPrep struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*GormPrep) InsertMulti ¶
type Gorp ¶
type Gorp struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Gorp) InsertMulti ¶
type Model ¶
type Model struct {
Id int `orm:"auto" gorm:"primary_key" db:"id" bun:",pk,autoincrement"`
Name string
Title string
Fax string
Web string
Age int
Right bool
Counter int64
}
Model for GORM, GORP, Beego, Bun, Pg, Raw, Sqlc, Ent
func NewModelAlt ¶
func NewModelAlt() Model
type Model2 ¶
type Model2 struct {
ID int `db:"id,key,auto"`
Name string `db:"name"`
Title string `db:"title"`
Fax string `db:"fax"`
Web string `db:"web"`
Age int `db:"age"`
Right bool `db:"right"`
Counter int64 `db:"counter"`
}
Model for Godb, Dbr
type Model3 ¶
type Model3 struct {
ID int `db:"id"`
Name string `db:"name"`
Title string `db:"title"`
Fax string `db:"fax"`
Web string `db:"web"`
Age int `db:"age"`
Right bool `db:"right"`
Counter int64 `db:"counter"`
}
Model for Pop, Rel
type Model4 ¶
type Model4 struct {
ID int `db:"id,omitempty"`
Name string `db:"name"`
Title string `db:"title"`
Fax string `db:"fax"`
Web string `db:"web"`
Age int `db:"age"`
Right bool `db:"right"`
Counter int64 `db:"counter"`
}
Model for Upper
type Model5 ¶
type Model5 struct {
ID int `xorm:"pk autoincr 'id'"`
Name string
Title string
Fax string
Web string
Age int
Right bool
Counter int64
}
Model for XORM
type Model7 ¶
type Model7 struct {
zorm.EntityStruct
ID int `column:"id"`
Name string `column:"name"`
Title string `column:"title"`
Fax string `column:"fax"`
Web string `column:"web"`
Age int `column:"age"`
Right bool `column:"\"right\""`
Counter int64 `column:"counter"`
}
Model for zorm
func (*Model7) GetPKColumnName ¶
func (*Model7) GetTableName ¶
type Pg ¶
type Pg struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Pg) InsertMulti ¶
type Pgx ¶
type Pgx struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Pgx) InsertMulti ¶
type PgxPool ¶
type PgxPool struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*PgxPool) InsertMulti ¶
type Pop ¶
type Pop struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Pop) InsertMulti ¶
type Raw ¶
type Raw struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Raw) InsertMulti ¶
type Reform ¶
type Reform struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Reform) InsertMulti ¶
type Rel ¶
type Rel struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Rel) InsertMulti ¶
type Sqlboiler ¶
type Sqlboiler struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Sqlboiler) InsertMulti ¶
type Sqlc ¶
type Sqlc struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Sqlc) InsertMulti ¶
type Sqlx ¶
type Sqlx struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Sqlx) InsertMulti ¶
type Upper ¶
type Upper struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Upper) InsertMulti ¶
type Xorm ¶
type Xorm struct {
helper.ORMInterface
// contains filtered or unexported fields
}
func (*Xorm) InsertMulti ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.