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

Method SetUpdatedAt

ent/node_create.go:985–989  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(v time.Time)

Source from the content-addressed store, hash-verified

983
984// SetUpdatedAt sets the "updated_at" field.
985func (u *NodeUpsertBulk) SetUpdatedAt(v time.Time) *NodeUpsertBulk {
986 return u.Update(func(s *NodeUpsert) {
987 s.SetUpdatedAt(v)
988 })
989}
990
991// UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
992func (u *NodeUpsertBulk) UpdateUpdatedAt() *NodeUpsertBulk {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected