AddFileIDs adds the "files" edge to the File entity by IDs.
(ids ...int)
| 987 | |
| 988 | // AddFileIDs adds the "files" edge to the File entity by IDs. |
| 989 | func (spuo *StoragePolicyUpdateOne) AddFileIDs(ids ...int) *StoragePolicyUpdateOne { |
| 990 | spuo.mutation.AddFileIDs(ids...) |
| 991 | return spuo |
| 992 | } |
| 993 | |
| 994 | // AddFiles adds the "files" edges to the File entity. |
| 995 | func (spuo *StoragePolicyUpdateOne) AddFiles(f ...*File) *StoragePolicyUpdateOne { |