SetFile sets the "file" edge to the File entity.
(f *File)
| 592 | |
| 593 | // SetFile sets the "file" edge to the File entity. |
| 594 | func (suo *ShareUpdateOne) SetFile(f *File) *ShareUpdateOne { |
| 595 | return suo.SetFileID(f.ID) |
| 596 | } |
| 597 | |
| 598 | // Mutation returns the ShareMutation object of the builder. |
| 599 | func (suo *ShareUpdateOne) Mutation() *ShareMutation { |