SetSlaveKey sets the "slave_key" field.
(s string)
| 488 | |
| 489 | // SetSlaveKey sets the "slave_key" field. |
| 490 | func (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. |
| 496 | func (nuo *NodeUpdateOne) SetNillableSlaveKey(s *string) *NodeUpdateOne { |
no test coverage detected