EventsCount returns the value of the "eventsCount" field in the mutation.
()
| 412 | |
| 413 | // EventsCount returns the value of the "eventsCount" field in the mutation. |
| 414 | func (m *AlertMutation) EventsCount() (r int32, exists bool) { |
| 415 | v := m.eventsCount |
| 416 | if v == nil { |
| 417 | return |
| 418 | } |
| 419 | return *v, true |
| 420 | } |
| 421 | |
| 422 | // OldEventsCount returns the old "eventsCount" field's value of the Alert entity. |
| 423 | // If the Alert object wasn't provided to the builder, the object is fetched from the database. |
no outgoing calls
no test coverage detected