Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
46
func
(m *Attachment) Insert() error {
47
o := orm.NewOrm()
48
_, err := o.Insert(m)
49
return
err
50
}
51
func
(m *Attachment) Update() error {
52
o := orm.NewOrm()
53
_, err := o.Update(m)
Callers
1
Upload
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected