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

Method SetUpdatedAt

ent/mutation.go:7287–7289  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

7285
7286// SetUpdatedAt sets the "updated_at" field.
7287func (m *NodeMutation) SetUpdatedAt(t time.Time) {
7288 m.updated_at = &t
7289}
7290
7291// UpdatedAt returns the value of the "updated_at" field in the mutation.
7292func (m *NodeMutation) UpdatedAt() (r time.Time, exists bool) {

Callers 1

SetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected