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

Method GetVersionItems

models/version.go:112–115  ·  view source on GitHub ↗
(versionId int)

Source from the content-addressed store, hash-verified

110}
111
112func (m *Version) GetVersionItems(versionId int) (items []VersionItem) {
113 orm.NewOrm().QueryTable(NewVersionItem()).Filter("version_id", versionId).All(&items)
114 return
115}
116
117// InsertOrUpdateVersionItem 添加版本项
118func (m *Version) InsertOrUpdateVersionItem(versionId int, bookIdentify, bookName string, versionNO string) (err error) {

Callers

nothing calls this directly

Calls 2

NewVersionItemFunction · 0.85
AllMethod · 0.45

Tested by

no test coverage detected