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

Method SetUpdatedAt

ent/mutation.go:4764–4766  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

4762
4763// SetUpdatedAt sets the "updated_at" field.
4764func (m *FsEventMutation) SetUpdatedAt(t time.Time) {
4765 m.updated_at = &t
4766}
4767
4768// UpdatedAt returns the value of the "updated_at" field in the mutation.
4769func (m *FsEventMutation) UpdatedAt() (r time.Time, exists bool) {

Callers 1

SetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected