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

Method SetUpdatedAt

ent/node_create.go:399–402  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(v time.Time)

Source from the content-addressed store, hash-verified

397
398// SetUpdatedAt sets the "updated_at" field.
399func (u *NodeUpsert) SetUpdatedAt(v time.Time) *NodeUpsert {
400 u.Set(node.FieldUpdatedAt, v)
401 return u
402}
403
404// UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
405func (u *NodeUpsert) UpdateUpdatedAt() *NodeUpsert {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected