SetFile sets the "file" edge to the File entity.
(f *File)
| 113 | |
| 114 | // SetFile sets the "file" edge to the File entity. |
| 115 | func (mu *MetadataUpdate) SetFile(f *File) *MetadataUpdate { |
| 116 | return mu.SetFileID(f.ID) |
| 117 | } |
| 118 | |
| 119 | // Mutation returns the MetadataMutation object of the builder. |
| 120 | func (mu *MetadataUpdate) Mutation() *MetadataMutation { |