Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
58
func
(m *Version) FindByTitle(title string) (version Version) {
59
orm.NewOrm().QueryTable(m).Filter(
"title"
, title).One(&version)
60
return
61
}
62
63
// 删除版本
64
func
(m *Version) Delete(id int) (err error) {
Callers
1
InsertOrUpdate
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected