SetStorageFileID sets the "storage_file" edge to the StorageFile entity by ID.
(id uuid.UUID)
| 179 | |
| 180 | // SetStorageFileID sets the "storage_file" edge to the StorageFile entity by ID. |
| 181 | func (nvc *NodeVersionCreate) SetStorageFileID(id uuid.UUID) *NodeVersionCreate { |
| 182 | nvc.mutation.SetStorageFileID(id) |
| 183 | return nvc |
| 184 | } |
| 185 | |
| 186 | // SetNillableStorageFileID sets the "storage_file" edge to the StorageFile entity by ID if the given value is not nil. |
| 187 | func (nvc *NodeVersionCreate) SetNillableStorageFileID(id *uuid.UUID) *NodeVersionCreate { |
no outgoing calls
no test coverage detected