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

Method SetDeletedAt

backend/ent/mutation.go:39443–39445  ·  view source on GitHub ↗

SetDeletedAt sets the "deleted_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

39441
39442// SetDeletedAt sets the "deleted_at" field.
39443func (m *UserMutation) SetDeletedAt(t time.Time) {
39444 m.deleted_at = &t
39445}
39446
39447// DeletedAt returns the value of the "deleted_at" field in the mutation.
39448func (m *UserMutation) DeletedAt() (r time.Time, exists bool) {

Callers 4

SetFieldMethod · 0.95
HooksMethod · 0.45
DeleteMethod · 0.45

Calls

no outgoing calls

Tested by 1