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

Method CreatedAt

pkg/database/ent/mutation.go:8882–8888  ·  view source on GitHub ↗

CreatedAt returns the value of the "created_at" field in the mutation.

()

Source from the content-addressed store, hash-verified

8880
8881// CreatedAt returns the value of the "created_at" field in the mutation.
8882func (m *MachineMutation) CreatedAt() (r time.Time, exists bool) {
8883 v := m.created_at
8884 if v == nil {
8885 return
8886 }
8887 return *v, true
8888}
8889
8890// OldCreatedAt returns the old "created_at" field's value of the Machine entity.
8891// If the Machine 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