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

Method SetUpdatedAt

ent/entity_update.go:516–519  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

514
515// SetUpdatedAt sets the "updated_at" field.
516func (euo *EntityUpdateOne) SetUpdatedAt(t time.Time) *EntityUpdateOne {
517 euo.mutation.SetUpdatedAt(t)
518 return euo
519}
520
521// SetDeletedAt sets the "deleted_at" field.
522func (euo *EntityUpdateOne) SetDeletedAt(t time.Time) *EntityUpdateOne {

Callers

nothing calls this directly

Calls 1

SetUpdatedAtMethod · 0.45

Tested by

no test coverage detected