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

Method UpdatedAt

pkg/database/ent/mutation.go:243–249  ·  view source on GitHub ↗

UpdatedAt returns the value of the "updated_at" field in the mutation.

()

Source from the content-addressed store, hash-verified

241
242// UpdatedAt returns the value of the "updated_at" field in the mutation.
243func (m *AlertMutation) UpdatedAt() (r time.Time, exists bool) {
244 v := m.updated_at
245 if v == nil {
246 return
247 }
248 return *v, true
249}
250
251// OldUpdatedAt returns the old "updated_at" field's value of the Alert entity.
252// If the Alert object wasn't provided to the builder, the object is fetched from the database.

Callers 1

FieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected