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

Method SetEmail

ent/user_update.go:1087–1090  ·  view source on GitHub ↗

SetEmail sets the "email" field.

(s string)

Source from the content-addressed store, hash-verified

1085
1086// SetEmail sets the "email" field.
1087func (uuo *UserUpdateOne) SetEmail(s string) *UserUpdateOne {
1088 uuo.mutation.SetEmail(s)
1089 return uuo
1090}
1091
1092// SetNillableEmail sets the "email" field if the given value is not nil.
1093func (uuo *UserUpdateOne) SetNillableEmail(s *string) *UserUpdateOne {

Callers 1

SetNillableEmailMethod · 0.95

Calls 1

SetEmailMethod · 0.45

Tested by

no test coverage detected