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

Method SetValue

ent/metadata_update.go:300–303  ·  view source on GitHub ↗

SetValue sets the "value" field.

(s string)

Source from the content-addressed store, hash-verified

298
299// SetValue sets the "value" field.
300func (muo *MetadataUpdateOne) SetValue(s string) *MetadataUpdateOne {
301 muo.mutation.SetValue(s)
302 return muo
303}
304
305// SetNillableValue sets the "value" field if the given value is not nil.
306func (muo *MetadataUpdateOne) SetNillableValue(s *string) *MetadataUpdateOne {

Callers 1

SetNillableValueMethod · 0.95

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected