MCPcopy Create free account
hub / github.com/TruthHun/DocHub / GetByCate

Method GetByCate

models/ConfigModel.go:318–321  ·  view source on GitHub ↗
(cate helper.ConfigCate)

Source from the content-addressed store, hash-verified

316}
317
318func (this *Config) GetByCate(cate helper.ConfigCate) (configs []Config) {
319 orm.NewOrm().QueryTable(GetTableConfig()).Filter("Category", cate).All(&configs)
320 return
321}
322
323//根据key更新配置
324//@param cate 配置分类

Callers 1

CloudStoreMethod · 0.95

Calls 2

GetTableConfigFunction · 0.85
AllMethod · 0.80

Tested by

no test coverage detected