AddFileIDs adds the "file" edge to the File entity by IDs.
(ids ...int)
| 683 | |
| 684 | // AddFileIDs adds the "file" edge to the File entity by IDs. |
| 685 | func (euo *EntityUpdateOne) AddFileIDs(ids ...int) *EntityUpdateOne { |
| 686 | euo.mutation.AddFileIDs(ids...) |
| 687 | return euo |
| 688 | } |
| 689 | |
| 690 | // AddFile adds the "file" edges to the File entity. |
| 691 | func (euo *EntityUpdateOne) AddFile(f ...*File) *EntityUpdateOne { |