()
| 49 | return err |
| 50 | } |
| 51 | func (m *Attachment) Update() error { |
| 52 | o := orm.NewOrm() |
| 53 | _, err := o.Update(m) |
| 54 | return err |
| 55 | } |
| 56 | |
| 57 | func (m *Attachment) Delete() (err error) { |
| 58 | o := orm.NewOrm() |
nothing calls this directly
no outgoing calls
no test coverage detected