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

Method SetUpdatedAt

ent/task_create.go:373–376  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(v time.Time)

Source from the content-addressed store, hash-verified

371
372// SetUpdatedAt sets the "updated_at" field.
373func (u *TaskUpsert) SetUpdatedAt(v time.Time) *TaskUpsert {
374 u.Set(task.FieldUpdatedAt, v)
375 return u
376}
377
378// UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
379func (u *TaskUpsert) UpdateUpdatedAt() *TaskUpsert {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected