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

Method AddFileIDs

ent/entity_update.go:206–209  ·  view source on GitHub ↗

AddFileIDs adds the "file" edge to the File entity by IDs.

(ids ...int)

Source from the content-addressed store, hash-verified

204
205// AddFileIDs adds the "file" edge to the File entity by IDs.
206func (eu *EntityUpdate) AddFileIDs(ids ...int) *EntityUpdate {
207 eu.mutation.AddFileIDs(ids...)
208 return eu
209}
210
211// AddFile adds the "file" edges to the File entity.
212func (eu *EntityUpdate) AddFile(f ...*File) *EntityUpdate {

Callers 2

AddFileMethod · 0.95
AddFileIDsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected