MCPcopy Create free account
hub / github.com/FloatTech/ZeroBot-Plugin-Playground / insert

Method insert

plugin/qqci/model.go:58–61  ·  view source on GitHub ↗
(app *application)

Source from the content-addressed store, hash-verified

56}
57
58func (adb *appdb) insert(app *application) error {
59 db := (*gorm.DB)(adb)
60 return db.Model(&application{}).Create(app).Error
61}
62
63func (adb *appdb) update(app *application) error {
64 db := (*gorm.DB)(adb)

Callers 1

initFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected