AlertEvents returns the value of the "alert_events" field in the mutation.
()
| 7996 | |
| 7997 | // AlertEvents returns the value of the "alert_events" field in the mutation. |
| 7998 | func (m *EventMutation) AlertEvents() (r int, exists bool) { |
| 7999 | v := m.owner |
| 8000 | if v == nil { |
| 8001 | return |
| 8002 | } |
| 8003 | return *v, true |
| 8004 | } |
| 8005 | |
| 8006 | // OldAlertEvents returns the old "alert_events" field's value of the Event entity. |
| 8007 | // If the Event object wasn't provided to the builder, the object is fetched from the database. |