查询markdown内容或者content内容
(docId ...interface{})
| 79 | |
| 80 | //查询markdown内容或者content内容 |
| 81 | func (this *DocumentStore) DeleteById(docId ...interface{}) { |
| 82 | if len(docId) > 0 { |
| 83 | orm.NewOrm().QueryTable(TableDocumentStore).Filter("document_id__in", docId...).Delete() |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | //查询markdown内容或者content内容 |
| 88 | func (this *DocumentStore) GetById(docId interface{}) (ds DocumentStore, err error) { |
no test coverage detected