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

Method SetUpdatedAt

ent/node_create.go:594–598  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(v time.Time)

Source from the content-addressed store, hash-verified

592
593// SetUpdatedAt sets the "updated_at" field.
594func (u *NodeUpsertOne) SetUpdatedAt(v time.Time) *NodeUpsertOne {
595 return u.Update(func(s *NodeUpsert) {
596 s.SetUpdatedAt(v)
597 })
598}
599
600// UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
601func (u *NodeUpsertOne) UpdateUpdatedAt() *NodeUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected