MCPcopy Create free account
hub / github.com/crowdsecurity/crowdsec / SetUpdatedAt

Method SetUpdatedAt

pkg/database/ent/machine_create.go:42–45  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(v time.Time)

Source from the content-addressed store, hash-verified

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

Callers 2

SetNillableUpdatedAtMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected