AddTaskIDs adds the "tasks" edge to the Task entity by IDs.
(ids ...int)
| 1305 | |
| 1306 | // AddTaskIDs adds the "tasks" edge to the Task entity by IDs. |
| 1307 | func (uuo *UserUpdateOne) AddTaskIDs(ids ...int) *UserUpdateOne { |
| 1308 | uuo.mutation.AddTaskIDs(ids...) |
| 1309 | return uuo |
| 1310 | } |
| 1311 | |
| 1312 | // AddTasks adds the "tasks" edges to the Task entity. |
| 1313 | func (uuo *UserUpdateOne) AddTasks(t ...*Task) *UserUpdateOne { |