MCPcopy Index your code
hub / github.com/crowdsecurity/crowdsec / EventsCountCleared

Method EventsCountCleared

pkg/database/ent/mutation.go:465–468  ·  view source on GitHub ↗

EventsCountCleared returns if the "eventsCount" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

463
464// EventsCountCleared returns if the "eventsCount" field was cleared in this mutation.
465func (m *AlertMutation) EventsCountCleared() bool {
466 _, ok := m.clearedFields[alert.FieldEventsCount]
467 return ok
468}
469
470// ResetEventsCount resets all changes to the "eventsCount" field.
471func (m *AlertMutation) ResetEventsCount() {

Callers 2

sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected