SetGroup sets the "group" edge to the Group entity.
(g *Group)
| 1240 | |
| 1241 | // SetGroup sets the "group" edge to the Group entity. |
| 1242 | func (uuo *UserUpdateOne) SetGroup(g *Group) *UserUpdateOne { |
| 1243 | return uuo.SetGroupID(g.ID) |
| 1244 | } |
| 1245 | |
| 1246 | // AddFileIDs adds the "files" edge to the File entity by IDs. |
| 1247 | func (uuo *UserUpdateOne) AddFileIDs(ids ...int) *UserUpdateOne { |
nothing calls this directly
no test coverage detected