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

Method SetName

ent/setting_update.go:212–215  ·  view source on GitHub ↗

SetName sets the "name" field.

(s string)

Source from the content-addressed store, hash-verified

210
211// SetName sets the "name" field.
212func (suo *SettingUpdateOne) SetName(s string) *SettingUpdateOne {
213 suo.mutation.SetName(s)
214 return suo
215}
216
217// SetNillableName sets the "name" field if the given value is not nil.
218func (suo *SettingUpdateOne) SetNillableName(s *string) *SettingUpdateOne {

Callers 1

SetNillableNameMethod · 0.95

Calls 1

SetNameMethod · 0.45

Tested by

no test coverage detected