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

Method SetNotes

backend/ent/mutation.go:39784–39786  ·  view source on GitHub ↗

SetNotes sets the "notes" field.

(s string)

Source from the content-addressed store, hash-verified

39782
39783// SetNotes sets the "notes" field.
39784func (m *UserMutation) SetNotes(s string) {
39785 m.notes = &s
39786}
39787
39788// Notes returns the value of the "notes" field in the mutation.
39789func (m *UserMutation) Notes() (r string, exists bool) {

Callers 15

SetFieldMethod · 0.95
CreateMethod · 0.45
UpdateMethod · 0.45
UpdateNotesMethod · 0.45
CreateMethod · 0.45
CreateBatchMethod · 0.45
UpdateMethod · 0.45
batchUpdateMethod · 0.45
TestGetByCodeMethod · 0.45

Calls

no outgoing calls

Tested by 14

TestGetByCodeMethod · 0.36
TestDeleteMethod · 0.36
TestListByUserMethod · 0.36
mustCreateUserFunction · 0.36
mustCreateRedeemCodeFunction · 0.36
mustCreateSubscriptionFunction · 0.36
UpdateMethod · 0.36