UserIDs returns the "user" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use UserID instead. It exists only for internal usage by the builders.
()
| 14668 | // Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use |
| 14669 | // UserID instead. It exists only for internal usage by the builders. |
| 14670 | func (m *TaskMutation) UserIDs() (ids []int) { |
| 14671 | if id := m.user; id != nil { |
| 14672 | ids = append(ids, *id) |
| 14673 | } |
| 14674 | return |
| 14675 | } |
| 14676 | |
| 14677 | // ResetUser resets all changes to the "user" edge. |
| 14678 | func (m *TaskMutation) ResetUser() { |
no outgoing calls
no test coverage detected