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

Method AddFileIDs

ent/user_create.go:183–186  ·  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

181
182// AddFileIDs adds the "files" edge to the File entity by IDs.
183func (uc *UserCreate) AddFileIDs(ids ...int) *UserCreate {
184 uc.mutation.AddFileIDs(ids...)
185 return uc
186}
187
188// AddFiles adds the "files" edges to the File entity.
189func (uc *UserCreate) AddFiles(f ...*File) *UserCreate {

Callers 1

AddFilesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected