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

Method SetUpdatedAt

ent/setting_create.go:364–368  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(v time.Time)

Source from the content-addressed store, hash-verified

362
363// SetUpdatedAt sets the "updated_at" field.
364func (u *SettingUpsertOne) SetUpdatedAt(v time.Time) *SettingUpsertOne {
365 return u.Update(func(s *SettingUpsert) {
366 s.SetUpdatedAt(v)
367 })
368}
369
370// UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
371func (u *SettingUpsertOne) UpdateUpdatedAt() *SettingUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected