()
| 47 | } |
| 48 | |
| 49 | func NewDocumentHistory() *DocumentHistory { |
| 50 | return &DocumentHistory{} |
| 51 | } |
| 52 | func (m *DocumentHistory) Find(id int) (*DocumentHistory, error) { |
| 53 | o := orm.NewOrm() |
| 54 | err := o.QueryTable(m.TableNameWithPrefix()).Filter("history_id", id).One(m) |
no outgoing calls
no test coverage detected