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

Method Insert

models/attachment.go:46–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46func (m *Attachment) Insert() error {
47 o := orm.NewOrm()
48 _, err := o.Insert(m)
49 return err
50}
51func (m *Attachment) Update() error {
52 o := orm.NewOrm()
53 _, err := o.Update(m)

Callers 1

UploadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected