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

Method SetGroupUsers

ent/user_create.go:166–169  ·  view source on GitHub ↗

SetGroupUsers sets the "group_users" field.

(i int)

Source from the content-addressed store, hash-verified

164
165// SetGroupUsers sets the "group_users" field.
166func (uc *UserCreate) SetGroupUsers(i int) *UserCreate {
167 uc.mutation.SetGroupUsers(i)
168 return uc
169}
170
171// SetGroupID sets the "group" edge to the Group entity by ID.
172func (uc *UserCreate) SetGroupID(id int) *UserCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected