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

Method AddFileIDs

ent/entity_create.go:145–148  ·  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

143
144// AddFileIDs adds the "file" edge to the File entity by IDs.
145func (ec *EntityCreate) AddFileIDs(ids ...int) *EntityCreate {
146 ec.mutation.AddFileIDs(ids...)
147 return ec
148}
149
150// AddFile adds the "file" edges to the File entity.
151func (ec *EntityCreate) AddFile(f ...*File) *EntityCreate {

Callers 1

AddFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected