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

Method update

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

Source from the content-addressed store, hash-verified

61}
62
63func (adb *appdb) update(app *application) error {
64 db := (*gorm.DB)(adb)
65 return db.Model(&application{}).Where("appname = ?", app.Appname).Updates(*app).Error
66}
67
68func (adb *appdb) get(app *application) (res application, err error) {
69 db := (*gorm.DB)(adb)

Callers 1

initFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected