MCPcopy Index your code
hub / github.com/TruthHun/DocHub / GetOneDocStoreByDsId

Method GetOneDocStoreByDsId

models/DocumentModel.go:290–293  ·  view source on GitHub ↗

根据document_store表中的id查询document_info表中的数据

(DsId interface{}, fields ...string)

Source from the content-addressed store, hash-verified

288
289//根据document_store表中的id查询document_info表中的数据
290func (this *Document) GetOneDocStoreByDsId(DsId interface{}, fields ...string) (store DocumentStore, rows int64, err error) {
291 err = orm.NewOrm().QueryTable(GetTableDocumentStore()).Filter("Id__in", DsId).One(&store, fields...)
292 return
293}
294
295//根据document_store表中的id查询document_info表中的数据
296func (this *Document) GetDocInfoById(Ids ...interface{}) (info []DocumentInfo, rows int64, err error) {

Callers 1

GetMethod · 0.95

Calls 2

GetTableDocumentStoreFunction · 0.85
OneMethod · 0.80

Tested by

no test coverage detected