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

Method SetUpdatedAt

ent/setting_create.go:40–43  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

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

Callers 2

SetNillableUpdatedAtMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected