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

Method AddEntityIDs

ent/file_create.go:228–231  ·  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

226
227// AddEntityIDs adds the "entities" edge to the Entity entity by IDs.
228func (fc *FileCreate) AddEntityIDs(ids ...int) *FileCreate {
229 fc.mutation.AddEntityIDs(ids...)
230 return fc
231}
232
233// AddEntities adds the "entities" edges to the Entity entity.
234func (fc *FileCreate) AddEntities(e ...*Entity) *FileCreate {

Callers 1

AddEntitiesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected