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

Method SetUpdatedAt

pkg/database/ent/meta_create.go:41–44  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(v time.Time)

Source from the content-addressed store, hash-verified

39
40// SetUpdatedAt sets the "updated_at" field.
41func (_c *MetaCreate) SetUpdatedAt(v time.Time) *MetaCreate {
42 _c.mutation.SetUpdatedAt(v)
43 return _c
44}
45
46// SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
47func (_c *MetaCreate) SetNillableUpdatedAt(v *time.Time) *MetaCreate {

Callers 2

SetNillableUpdatedAtMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected