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

Method GetById

models/document_store.go:88–94  ·  view source on GitHub ↗

查询markdown内容或者content内容

(docId interface{})

Source from the content-addressed store, hash-verified

86
87//查询markdown内容或者content内容
88func (this *DocumentStore) GetById(docId interface{}) (ds DocumentStore, err error) {
89 err = orm.NewOrm().QueryTable(TableDocumentStore).Filter("document_id", docId).One(&ds)
90 if err != nil {
91 beego.Error(err)
92 }
93 return
94}

Callers 1

ReleaseContentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected