MCPcopy 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
67func DeleteSettingItemByKey(key string) error {
68 return errors.WithStack(db.Where(fmt.Sprintf("%s = ?", columnName("key")), key).Delete(model.SettingItem{}).Error)
69}

Callers 2

DeleteSettingItemByKeyFunction · 0.92
initSettingsFunction · 0.92

Calls 2

columnNameFunction · 0.85
DeleteMethod · 0.65

Tested by

no test coverage detected