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

Method SetUpdatedAt

ent/metadata_update.go:260–263  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

258
259// SetUpdatedAt sets the "updated_at" field.
260func (muo *MetadataUpdateOne) SetUpdatedAt(t time.Time) *MetadataUpdateOne {
261 muo.mutation.SetUpdatedAt(t)
262 return muo
263}
264
265// SetDeletedAt sets the "deleted_at" field.
266func (muo *MetadataUpdateOne) SetDeletedAt(t time.Time) *MetadataUpdateOne {

Callers

nothing calls this directly

Calls 1

SetUpdatedAtMethod · 0.45

Tested by

no test coverage detected