MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / SetUpdatedAt

Method SetUpdatedAt

ent/node_create.go:43–46  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

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

Callers 2

SetNillableUpdatedAtMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected