MCPcopy Index your code
hub / github.com/TruthHun/BookStack / GetVersionItem

Method GetVersionItem

models/version.go:164–167  ·  view source on GitHub ↗
(bookIdentify string)

Source from the content-addressed store, hash-verified

162}
163
164func (m *Version) GetVersionItem(bookIdentify string) (versionItem VersionItem) {
165 orm.NewOrm().QueryTable(NewVersionItem()).Filter("book_identify", bookIdentify).One(&versionItem)
166 return
167}
168
169func (m *Version) Lists(page, size int, wd string) (versions []Version, total int64) {
170 o := orm.NewOrm()

Callers 1

SettingMethod · 0.95

Calls 1

NewVersionItemFunction · 0.85

Tested by

no test coverage detected