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

Method SetUpdatedAt

ent/task_update.go:304–307  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

302
303// SetUpdatedAt sets the "updated_at" field.
304func (tuo *TaskUpdateOne) SetUpdatedAt(t time.Time) *TaskUpdateOne {
305 tuo.mutation.SetUpdatedAt(t)
306 return tuo
307}
308
309// SetDeletedAt sets the "deleted_at" field.
310func (tuo *TaskUpdateOne) SetDeletedAt(t time.Time) *TaskUpdateOne {

Callers

nothing calls this directly

Calls 1

SetUpdatedAtMethod · 0.45

Tested by

no test coverage detected