MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / SetValue

Method SetValue

ent/setting_update.go:226–229  ·  view source on GitHub ↗

SetValue sets the "value" field.

(s string)

Source from the content-addressed store, hash-verified

224
225// SetValue sets the "value" field.
226func (suo *SettingUpdateOne) SetValue(s string) *SettingUpdateOne {
227 suo.mutation.SetValue(s)
228 return suo
229}
230
231// SetNillableValue sets the "value" field if the given value is not nil.
232func (suo *SettingUpdateOne) SetNillableValue(s *string) *SettingUpdateOne {

Callers 1

SetNillableValueMethod · 0.95

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected