Documentation ¶
Index ¶
- func AfterCreate(db *gorm.DB)
- func AfterDelete(db *gorm.DB)
- func AfterQuery(db *gorm.DB)
- func AfterUpdate(db *gorm.DB)
- func BeforeCreate(db *gorm.DB)
- func BeforeDelete(db *gorm.DB)
- func BeforeUpdate(db *gorm.DB)
- func BeginTransaction(db *gorm.DB)
- func BuildQuerySQL(db *gorm.DB)
- func CommitOrRollbackTransaction(db *gorm.DB)
- func ConvertMapToValuesForCreate(stmt *gorm.Statement, mapValue map[string]interface{}) (values clause.Values)
- func ConvertSliceOfMapToValuesForCreate(stmt *gorm.Statement, mapValues []map[string]interface{}) (values clause.Values)
- func ConvertToAssignments(stmt *gorm.Statement) (set clause.Set)
- func ConvertToCreateValues(stmt *gorm.Statement) (values clause.Values)
- func Create(config *Config) func(db *gorm.DB)
- func CreateWithReturning(db *gorm.DB)
- func Delete(db *gorm.DB)
- func DeleteBeforeAssociations(db *gorm.DB)
- func Preload(db *gorm.DB)
- func Query(db *gorm.DB)
- func RawExec(db *gorm.DB)
- func RegisterDefaultCallbacks(db *gorm.DB, config *Config)
- func RowQuery(db *gorm.DB)
- func SaveAfterAssociations(create bool) func(db *gorm.DB)
- func SaveBeforeAssociations(create bool) func(db *gorm.DB)
- func SetupUpdateReflectValue(db *gorm.DB)
- func Update(db *gorm.DB)
- type AfterCreateInterface
- type AfterDeleteInterface
- type AfterFindInterface
- type AfterSaveInterface
- type AfterUpdateInterface
- type BeforeCreateInterface
- type BeforeDeleteInterface
- type BeforeSaveInterface
- type BeforeUpdateInterface
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AfterCreate ¶
func AfterDelete ¶
func AfterQuery ¶
func AfterUpdate ¶
func BeforeCreate ¶
func BeforeDelete ¶
func BeforeUpdate ¶
func BeginTransaction ¶
func BuildQuerySQL ¶
func ConvertMapToValuesForCreate ¶
func ConvertMapToValuesForCreate(stmt *gorm.Statement, mapValue map[string]interface{}) (values clause.Values)
ConvertMapToValuesForCreate convert map to values
func ConvertSliceOfMapToValuesForCreate ¶
func ConvertSliceOfMapToValuesForCreate(stmt *gorm.Statement, mapValues []map[string]interface{}) (values clause.Values)
ConvertSliceOfMapToValuesForCreate convert slice of map to values
func ConvertToAssignments ¶
ConvertToAssignments convert to update assignments
func ConvertToCreateValues ¶
ConvertToCreateValues convert to create values
func CreateWithReturning ¶
func SaveAfterAssociations ¶
func SaveBeforeAssociations ¶
func SetupUpdateReflectValue ¶
Types ¶
type AfterCreateInterface ¶
type AfterDeleteInterface ¶
type AfterFindInterface ¶
type AfterSaveInterface ¶
type AfterUpdateInterface ¶
type BeforeCreateInterface ¶
type BeforeDeleteInterface ¶
type BeforeSaveInterface ¶
type BeforeUpdateInterface ¶
Click to show internal directories.
Click to hide internal directories.