SetFile sets the "file" edge to the File entity.
(f *File)
| 213 | |
| 214 | // SetFile sets the "file" edge to the File entity. |
| 215 | func (su *ShareUpdate) SetFile(f *File) *ShareUpdate { |
| 216 | return su.SetFileID(f.ID) |
| 217 | } |
| 218 | |
| 219 | // Mutation returns the ShareMutation object of the builder. |
| 220 | func (su *ShareUpdate) Mutation() *ShareMutation { |