Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiprodcoder/MIXAPI
/ Insert
Method
Insert
model/redemption.go:155–159 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
153
}
154
155
func
(redemption *Redemption) Insert() error {
156
var
err error
157
err = DB.Create(redemption).Error
158
return
err
159
}
160
161
func
(redemption *Redemption) SelectUpdate() error {
162
// This can update zero values
Callers
1
AddRedemption
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected