SlaveKey returns the value of the "slave_key" field in the mutation.
()
| 7532 | |
| 7533 | // SlaveKey returns the value of the "slave_key" field in the mutation. |
| 7534 | func (m *NodeMutation) SlaveKey() (r string, exists bool) { |
| 7535 | v := m.slave_key |
| 7536 | if v == nil { |
| 7537 | return |
| 7538 | } |
| 7539 | return *v, true |
| 7540 | } |
| 7541 | |
| 7542 | // OldSlaveKey returns the old "slave_key" field's value of the Node entity. |
| 7543 | // If the Node object wasn't provided to the builder, the object is fetched from the database. |
no outgoing calls
no test coverage detected