MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / SaveSettingItems

Function SaveSettingItems

internal/db/settingitem.go:59–61  ·  view source on GitHub ↗
(items []model.SettingItem)

Source from the content-addressed store, hash-verified

57}
58
59func SaveSettingItems(items []model.SettingItem) (err error) {
60 return errors.WithStack(db.Save(items).Error)
61}
62
63func SaveSettingItem(item *model.SettingItem) error {
64 return errors.WithStack(db.Save(item).Error)

Callers 2

SaveSettingItemsFunction · 0.92
initSettingsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected