Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ DeleteSettingItemByKey
Function
DeleteSettingItemByKey
internal/db/settingitem.go:67–69 ·
view source on GitHub ↗
(key string)
Source
from the content-addressed store, hash-verified
65
}
66
67
func
DeleteSettingItemByKey(key string) error {
68
return
errors.WithStack(db.Where(fmt.Sprintf(
"%s = ?"
, columnName(
"key"
)), key).Delete(model.SettingItem{}).Error)
69
}
Callers
2
DeleteSettingItemByKey
Function · 0.92
initSettings
Function · 0.92
Calls
2
columnName
Function · 0.85
Delete
Method · 0.65
Tested by
no test coverage detected