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

Method All

models/version.go:159–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157}
158
159func (m *Version) All() (versions []Version) {
160 orm.NewOrm().QueryTable(m).Limit(100000).OrderBy("title").All(&versions, "id", "title")
161 return
162}
163
164func (m *Version) GetVersionItem(bookIdentify string) (versionItem VersionItem) {
165 orm.NewOrm().QueryTable(NewVersionItem()).Filter("book_identify", bookIdentify).One(&versionItem)

Callers 3

SettingMethod · 0.95
GetVersionItemsMethod · 0.45
ListsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected