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

Method UpdateOneID

ent/client.go:880–883  ·  view source on GitHub ↗

UpdateOneID returns an update builder for the given id.

(id int)

Source from the content-addressed store, hash-verified

878
879// UpdateOneID returns an update builder for the given id.
880func (c *FileClient) UpdateOneID(id int) *FileUpdateOne {
881 mutation := newFileMutation(c.config, OpUpdateOne, withFileID(id))
882 return &FileUpdateOne{config: c.config, hooks: c.Hooks(), mutation: mutation}
883}
884
885// Delete returns a delete builder for File.
886func (c *FileClient) Delete() *FileDelete {

Callers 8

migrateFolderParentMethod · 0.45
insertEntityMethod · 0.45
ViewedMethod · 0.45
DownloadedMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
SetCompleteByIDMethod · 0.45
CalculateStorageMethod · 0.45

Calls 3

HooksMethod · 0.95
newFileMutationFunction · 0.85
withFileIDFunction · 0.85

Tested by

no test coverage detected