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

Method FindByTitle

models/version.go:58–61  ·  view source on GitHub ↗
(title string)

Source from the content-addressed store, hash-verified

56}
57
58func (m *Version) FindByTitle(title string) (version Version) {
59 orm.NewOrm().QueryTable(m).Filter("title", title).One(&version)
60 return
61}
62
63// 删除版本
64func (m *Version) Delete(id int) (err error) {

Callers 1

InsertOrUpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected