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

Method SetUpdatedAt

ent/task_create.go:523–527  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(v time.Time)

Source from the content-addressed store, hash-verified

521
522// SetUpdatedAt sets the "updated_at" field.
523func (u *TaskUpsertOne) SetUpdatedAt(v time.Time) *TaskUpsertOne {
524 return u.Update(func(s *TaskUpsert) {
525 s.SetUpdatedAt(v)
526 })
527}
528
529// UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
530func (u *TaskUpsertOne) UpdateUpdatedAt() *TaskUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected