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

Method SetSlaveKey

ent/node_update.go:490–493  ·  view source on GitHub ↗

SetSlaveKey sets the "slave_key" field.

(s string)

Source from the content-addressed store, hash-verified

488
489// SetSlaveKey sets the "slave_key" field.
490func (nuo *NodeUpdateOne) SetSlaveKey(s string) *NodeUpdateOne {
491 nuo.mutation.SetSlaveKey(s)
492 return nuo
493}
494
495// SetNillableSlaveKey sets the "slave_key" field if the given value is not nil.
496func (nuo *NodeUpdateOne) SetNillableSlaveKey(s *string) *NodeUpdateOne {

Callers 1

SetNillableSlaveKeyMethod · 0.95

Calls 1

SetSlaveKeyMethod · 0.45

Tested by

no test coverage detected