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

Method SetGroupUsers

ent/user_update.go:1222–1225  ·  view source on GitHub ↗

SetGroupUsers sets the "group_users" field.

(i int)

Source from the content-addressed store, hash-verified

1220
1221// SetGroupUsers sets the "group_users" field.
1222func (uuo *UserUpdateOne) SetGroupUsers(i int) *UserUpdateOne {
1223 uuo.mutation.SetGroupUsers(i)
1224 return uuo
1225}
1226
1227// SetNillableGroupUsers sets the "group_users" field if the given value is not nil.
1228func (uuo *UserUpdateOne) SetNillableGroupUsers(i *int) *UserUpdateOne {

Callers 1

SetNillableGroupUsersMethod · 0.95

Calls 1

SetGroupUsersMethod · 0.45

Tested by

no test coverage detected