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

Method AddEntityIDs

ent/user_create.go:273–276  ·  view source on GitHub ↗

AddEntityIDs adds the "entities" edge to the Entity entity by IDs.

(ids ...int)

Source from the content-addressed store, hash-verified

271
272// AddEntityIDs adds the "entities" edge to the Entity entity by IDs.
273func (uc *UserCreate) AddEntityIDs(ids ...int) *UserCreate {
274 uc.mutation.AddEntityIDs(ids...)
275 return uc
276}
277
278// AddEntities adds the "entities" edges to the Entity entity.
279func (uc *UserCreate) AddEntities(e ...*Entity) *UserCreate {

Callers 1

AddEntitiesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected