SetFile sets the "file" edge to the File entity.
(f *File)
| 127 | |
| 128 | // SetFile sets the "file" edge to the File entity. |
| 129 | func (dlu *DirectLinkUpdate) SetFile(f *File) *DirectLinkUpdate { |
| 130 | return dlu.SetFileID(f.ID) |
| 131 | } |
| 132 | |
| 133 | // Mutation returns the DirectLinkMutation object of the builder. |
| 134 | func (dlu *DirectLinkUpdate) Mutation() *DirectLinkMutation { |