MCPcopy Create free account
hub / github.com/TruthHun/BookStack / set

Method set

models/queue.go:30–33  ·  view source on GitHub ↗

设置

(bookId int, status int8)

Source from the content-addressed store, hash-verified

28
29//设置
30func (*Queue) set(bookId int, status int8) (err error) {
31 _, err = orm.NewOrm().QueryTable(tableQueue).Filter("status", status).Update(orm.Params{"status": status})
32 return
33}

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.45

Tested by

no test coverage detected