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

Method SetUpdatedAt

ent/metadata_create.go:41–44  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

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

Callers 2

SetNillableUpdatedAtMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected