Documentation
      ¶
    
    
  
    
  
    Index ¶
- func AfterCreate(db *dao.DB)
 - func AfterDelete(db *dao.DB)
 - func AfterQuery(db *dao.DB)
 - func AfterUpdate(db *dao.DB)
 - func BeforeCreate(db *dao.DB)
 - func BeforeDelete(db *dao.DB)
 - func BeforeUpdate(db *dao.DB)
 - func BeginTransaction(db *dao.DB)
 - func BuildQuerySQL(db *dao.DB)
 - func CommitOrRollbackTransaction(db *dao.DB)
 - func ConvertMapToValuesForCreate(stmt *dao.Statement, mapValue map[string]interface{}) (values clause.Values)
 - func ConvertSliceOfMapToValuesForCreate(stmt *dao.Statement, mapValues []map[string]interface{}) (values clause.Values)
 - func ConvertToAssignments(stmt *dao.Statement) (set clause.Set)
 - func ConvertToCreateValues(stmt *dao.Statement) (values clause.Values)
 - func Create(config *Options) func(db *dao.DB)
 - func CreateWithReturning(db *dao.DB)
 - func Delete(db *dao.DB)
 - func DeleteBeforeAssociations(db *dao.DB)
 - func Preload(db *dao.DB)
 - func Query(db *dao.DB)
 - func RawExec(db *dao.DB)
 - func RegisterDefaultCallbacks(db *dao.DB, config *Options)
 - func RowQuery(db *dao.DB)
 - func SaveAfterAssociations(create bool) func(db *dao.DB)
 - func SaveBeforeAssociations(create bool) func(db *dao.DB)
 - func SetupUpdateReflectValue(db *dao.DB)
 - func Update(db *dao.DB)
 - type AfterCreateInterface
 - type AfterDeleteInterface
 - type AfterFindInterface
 - type AfterSaveInterface
 - type AfterUpdateInterface
 - type BeforeCreateInterface
 - type BeforeDeleteInterface
 - type BeforeSaveInterface
 - type BeforeUpdateInterface
 - type Options
 
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 *dao.Statement, mapValue map[string]interface{}) (values clause.Values)
ConvertMapToValuesForCreate convert map to values
func ConvertSliceOfMapToValuesForCreate ¶
func ConvertSliceOfMapToValuesForCreate(stmt *dao.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.