SetNode sets the "node" edge to the Node entity.
(n *Node)
| 628 | |
| 629 | // SetNode sets the "node" edge to the Node entity. |
| 630 | func (nvuo *NodeVersionUpdateOne) SetNode(n *Node) *NodeVersionUpdateOne { |
| 631 | return nvuo.SetNodeID(n.ID) |
| 632 | } |
| 633 | |
| 634 | // SetStorageFileID sets the "storage_file" edge to the StorageFile entity by ID. |
| 635 | func (nvuo *NodeVersionUpdateOne) SetStorageFileID(id uuid.UUID) *NodeVersionUpdateOne { |