SetStorageFileID sets the "storage_file" edge to the StorageFile entity by ID.
(id uuid.UUID)
| 633 | |
| 634 | // SetStorageFileID sets the "storage_file" edge to the StorageFile entity by ID. |
| 635 | func (nvuo *NodeVersionUpdateOne) SetStorageFileID(id uuid.UUID) *NodeVersionUpdateOne { |
| 636 | nvuo.mutation.SetStorageFileID(id) |
| 637 | return nvuo |
| 638 | } |
| 639 | |
| 640 | // SetNillableStorageFileID sets the "storage_file" edge to the StorageFile entity by ID if the given value is not nil. |
| 641 | func (nvuo *NodeVersionUpdateOne) SetNillableStorageFileID(id *uuid.UUID) *NodeVersionUpdateOne { |
no test coverage detected