AddFileIDs adds the "files" edge to the File entity by IDs.
(ids ...int)
| 181 | |
| 182 | // AddFileIDs adds the "files" edge to the File entity by IDs. |
| 183 | func (uc *UserCreate) AddFileIDs(ids ...int) *UserCreate { |
| 184 | uc.mutation.AddFileIDs(ids...) |
| 185 | return uc |
| 186 | } |
| 187 | |
| 188 | // AddFiles adds the "files" edges to the File entity. |
| 189 | func (uc *UserCreate) AddFiles(f ...*File) *UserCreate { |