Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Query ¶
type Query struct { SelectFields []string Conditions []func(db *gorm.DB) *gorm.DB Preloads []func(db *gorm.DB) *gorm.DB Order func(db *gorm.DB) *gorm.DB Limit func(db *gorm.DB) *gorm.DB ForUpdate func(db *gorm.DB) *gorm.DB }
func (*Query) AddPreload ¶
func (*Query) EnableForUpdate ¶
func (a *Query) EnableForUpdate()
Click to show internal directories.
Click to hide internal directories.