RemoveTaskIDs removes the "tasks" edge to the Task entity by IDs.
(ids ...int)
| 15994 | |
| 15995 | // RemoveTaskIDs removes the "tasks" edge to the Task entity by IDs. |
| 15996 | func (m *UserMutation) RemoveTaskIDs(ids ...int) { |
| 15997 | if m.removedtasks == nil { |
| 15998 | m.removedtasks = make(map[int]struct{}) |
| 15999 | } |
| 16000 | for i := range ids { |
| 16001 | delete(m.tasks, ids[i]) |
| 16002 | m.removedtasks[ids[i]] = struct{}{} |
| 16003 | } |
| 16004 | } |
| 16005 | |
| 16006 | // RemovedTasks returns the removed IDs of the "tasks" edge to the Task entity. |
| 16007 | func (m *UserMutation) RemovedTasksIDs() (ids []int) { |
nothing calls this directly
no outgoing calls
no test coverage detected