Documentation ¶
Index ¶
- func CreatePeggedAssocFields(db *gorm.DB, modelObj models.IModel) (err error)
- func DeleteModelFixManyToManyAndPeg(db *gorm.DB, modelObj models.IModel) error
- func FixManyToMany(correctModel models.IModel, incorrectModel models.IModel) (err error)
- func LoadManyToManyBecauseGormFailsWithID(db *gorm.DB, modelObj models.IModel) error
- func UpdatePeggedFields(db *gorm.DB, oldModelObj models.IModel, newModelObj models.IModel) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePeggedAssocFields ¶
CreatePeggedAssocFields :-
func DeleteModelFixManyToManyAndPeg ¶ added in v0.4.5
DeleteModelFixManyToManyAndPeg remove nested field if it has tag \"betterrest="peg"\" Pegassoc is no problem, because we never tried to take care of it If necessary, DB foreign key constraint will do the job
func FixManyToMany ¶
FixManyToMany :-
func LoadManyToManyBecauseGormFailsWithID ¶
LoadManyToManyBecauseGormFailsWithID :-
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.