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

Method All

models/options.go:107–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105}
106
107func (p *Option) All() ([]*Option, error) {
108 o := orm.NewOrm()
109 var options []*Option
110
111 _, err := o.QueryTable(p.TableNameWithPrefix()).All(&options)
112
113 if err != nil {
114 return options, err
115 }
116 return options, nil
117}
118
119func (m *Option) Init() error {
120

Callers 1

initOptionCacheFunction · 0.45

Calls 1

TableNameWithPrefixMethod · 0.95

Tested by

no test coverage detected