MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / SetUpdatedAt

Method SetUpdatedAt

ent/user_create.go:50–53  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

48
49// SetUpdatedAt sets the "updated_at" field.
50func (uc *UserCreate) SetUpdatedAt(t time.Time) *UserCreate {
51 uc.mutation.SetUpdatedAt(t)
52 return uc
53}
54
55// SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
56func (uc *UserCreate) SetNillableUpdatedAt(t *time.Time) *UserCreate {

Callers 2

SetNillableUpdatedAtMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected