Documentation ¶
Index ¶
- func CreateMany(db *gorm.DB, mapper datamapper.IDataMapper, modelObjs []mdl.IModel, ...) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
- func CreateOne(db *gorm.DB, mapper datamapper.IDataMapper, modelObj mdl.IModel, ...) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
- func DeleteMany(db *gorm.DB, mapper datamapper.IDataMapper, modelObjs []mdl.IModel, ...) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
- func DeleteOne(db *gorm.DB, mapper datamapper.IDataMapper, id *datatype.UUID, ...) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
- func PatchMany(db *gorm.DB, mapper datamapper.IDataMapper, ...) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
- func PatchOne(db *gorm.DB, mapper datamapper.IDataMapper, jsonPatch []byte, ...) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
- func ReadMany(db *gorm.DB, mapper datamapper.IDataMapper, ep *hook.EndPoint, logger Logger) (*hook.Data, *int, *hfetcher.HandlerFetcher, render.Renderer)
- func ReadOne(db *gorm.DB, mapper datamapper.IDataMapper, id *datatype.UUID, ...) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
- func UpdateMany(db *gorm.DB, mapper datamapper.IDataMapper, modelObjs []mdl.IModel, ...) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
- func UpdateOne(db *gorm.DB, mapper datamapper.IDataMapper, modelObj mdl.IModel, ...) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMany ¶
func CreateMany(db *gorm.DB, mapper datamapper.IDataMapper, modelObjs []mdl.IModel, ep *hook.EndPoint, logger Logger) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
func CreateOne ¶
func CreateOne(db *gorm.DB, mapper datamapper.IDataMapper, modelObj mdl.IModel, ep *hook.EndPoint, logger Logger) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
func DeleteMany ¶
func DeleteMany(db *gorm.DB, mapper datamapper.IDataMapper, modelObjs []mdl.IModel, ep *hook.EndPoint, logger Logger) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
func DeleteOne ¶
func DeleteOne(db *gorm.DB, mapper datamapper.IDataMapper, id *datatype.UUID, ep *hook.EndPoint, logger Logger) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
func PatchMany ¶
func PatchMany(db *gorm.DB, mapper datamapper.IDataMapper, jsonIDPatches []mdlutil.JSONIDPatch, ep *hook.EndPoint, logger Logger) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
func ReadMany ¶
func ReadMany(db *gorm.DB, mapper datamapper.IDataMapper, ep *hook.EndPoint, logger Logger) (*hook.Data, *int, *hfetcher.HandlerFetcher, render.Renderer)
ReadMany
func ReadOne ¶
func ReadOne(db *gorm.DB, mapper datamapper.IDataMapper, id *datatype.UUID, ep *hook.EndPoint, logger Logger) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
func UpdateMany ¶
func UpdateMany(db *gorm.DB, mapper datamapper.IDataMapper, modelObjs []mdl.IModel, ep *hook.EndPoint, logger Logger) (*hook.Data, *hfetcher.HandlerFetcher, render.Renderer)
Types ¶
Click to show internal directories.
Click to hide internal directories.