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

Method AddTaskIDs

ent/user_update.go:288–291  ·  view source on GitHub ↗

AddTaskIDs adds the "tasks" edge to the Task entity by IDs.

(ids ...int)

Source from the content-addressed store, hash-verified

286
287// AddTaskIDs adds the "tasks" edge to the Task entity by IDs.
288func (uu *UserUpdate) AddTaskIDs(ids ...int) *UserUpdate {
289 uu.mutation.AddTaskIDs(ids...)
290 return uu
291}
292
293// AddTasks adds the "tasks" edges to the Task entity.
294func (uu *UserUpdate) AddTasks(t ...*Task) *UserUpdate {

Callers 2

AddTasksMethod · 0.95
AddTaskIDsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected