AlertsIDs returns the "alerts" edge IDs in the mutation.
()
| 9656 | |
| 9657 | // AlertsIDs returns the "alerts" edge IDs in the mutation. |
| 9658 | func (m *MachineMutation) AlertsIDs() (ids []int) { |
| 9659 | for id := range m.alerts { |
| 9660 | ids = append(ids, id) |
| 9661 | } |
| 9662 | return |
| 9663 | } |
| 9664 | |
| 9665 | // ResetAlerts resets all changes to the "alerts" edge. |
| 9666 | func (m *MachineMutation) ResetAlerts() { |
no outgoing calls
no test coverage detected