Documentation ¶
Index ¶
- func CreatePeggedAssocFields(db *gorm.DB, modelObj mdl.IModel) (err error)
- func DeleteModelFixManyToManyAndPeg(db *gorm.DB, modelObj mdl.IModel) error
- func FixManyToMany(correctModel mdl.IModel, incorrectModel mdl.IModel) (err error)
- func LoadManyToManyBecauseGormFailsWithID(db *gorm.DB, modelObj mdl.IModel) error
- func UpdatePeggedFields(db *gorm.DB, oldModelObj mdl.IModel, newModelObj mdl.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.