SetFile sets the "file" edge to the File entity.
(f *File)
| 374 | |
| 375 | // SetFile sets the "file" edge to the File entity. |
| 376 | func (dluo *DirectLinkUpdateOne) SetFile(f *File) *DirectLinkUpdateOne { |
| 377 | return dluo.SetFileID(f.ID) |
| 378 | } |
| 379 | |
| 380 | // Mutation returns the DirectLinkMutation object of the builder. |
| 381 | func (dluo *DirectLinkUpdateOne) Mutation() *DirectLinkMutation { |