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

Method AddFileIDs

ent/user_update.go:228–231  ·  view source on GitHub ↗

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

(ids ...int)

Source from the content-addressed store, hash-verified

226
227// AddFileIDs adds the "files" edge to the File entity by IDs.
228func (uu *UserUpdate) AddFileIDs(ids ...int) *UserUpdate {
229 uu.mutation.AddFileIDs(ids...)
230 return uu
231}
232
233// AddFiles adds the "files" edges to the File entity.
234func (uu *UserUpdate) AddFiles(f ...*File) *UserUpdate {

Callers 2

AddFilesMethod · 0.95
AddFileIDsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected