MCPcopy
hub / github.com/Wei-Shaw/sub2api / SetUpdatedAt

Method SetUpdatedAt

backend/ent/mutation.go:39407–39409  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

39405
39406// SetUpdatedAt sets the "updated_at" field.
39407func (m *UserMutation) SetUpdatedAt(t time.Time) {
39408 m.updated_at = &t
39409}
39410
39411// UpdatedAt returns the value of the "updated_at" field in the mutation.
39412func (m *UserMutation) UpdatedAt() (r time.Time, exists bool) {

Callers 15

SetFieldMethod · 0.95
RestoreMethod · 0.45
UpdateMethod · 0.45
UpdateLastUsedMethod · 0.45
SetMethod · 0.45
SetMultipleMethod · 0.45
mustCreateUserFunction · 0.45
mustCreateGroupFunction · 0.45
mustCreateProxyFunction · 0.45
mustCreateAccountFunction · 0.45
mustCreateApiKeyFunction · 0.45

Calls

no outgoing calls

Tested by 6

mustCreateUserFunction · 0.36
mustCreateGroupFunction · 0.36
mustCreateProxyFunction · 0.36
mustCreateAccountFunction · 0.36
mustCreateApiKeyFunction · 0.36
mustCreateSubscriptionFunction · 0.36