AddTaskIDs adds the "tasks" edge to the Task entity by IDs.
(ids ...int)
| 241 | |
| 242 | // AddTaskIDs adds the "tasks" edge to the Task entity by IDs. |
| 243 | func (uc *UserCreate) AddTaskIDs(ids ...int) *UserCreate { |
| 244 | uc.mutation.AddTaskIDs(ids...) |
| 245 | return uc |
| 246 | } |
| 247 | |
| 248 | // AddTasks adds the "tasks" edges to the Task entity. |
| 249 | func (uc *UserCreate) AddTasks(t ...*Task) *UserCreate { |