MCPcopy
hub / github.com/crowdsecurity/crowdsec / UpdatedAt

Method UpdatedAt

pkg/database/ent/mutation.go:10380–10386  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

10378
10379// UpdatedAt returns the value of the "updated_at" field in the mutation.
10380func (m *MetaMutation) UpdatedAt() (r time.Time, exists bool) {
10381 v := m.updated_at
10382 if v == nil {
10383 return
10384 }
10385 return *v, true
10386}
10387
10388// OldUpdatedAt returns the old "updated_at" field's value of the Meta entity.
10389// If the Meta object wasn't provided to the builder, the object is fetched from the database.

Callers 15

FieldMethod · 0.95
defaultsMethod · 0.45
checkMethod · 0.45
createSpecMethod · 0.45
defaultsMethod · 0.45
checkMethod · 0.45
createSpecMethod · 0.45
defaultsMethod · 0.45
checkMethod · 0.45
createSpecMethod · 0.45
defaultsMethod · 0.45
checkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected