MCPcopy Create free account
hub / github.com/Comfy-Org/registry-backend / SetUpdateTime

Method SetUpdateTime

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

SetUpdateTime sets the "update_time" field.

(t time.Time)

Source from the content-addressed store, hash-verified

44
45// SetUpdateTime sets the "update_time" field.
46func (nc *NodeCreate) SetUpdateTime(t time.Time) *NodeCreate {
47 nc.mutation.SetUpdateTime(t)
48 return nc
49}
50
51// SetNillableUpdateTime sets the "update_time" field if the given value is not nil.
52func (nc *NodeCreate) SetNillableUpdateTime(t *time.Time) *NodeCreate {

Callers 2

SetNillableUpdateTimeMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected