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

Method AddTaskIDs

ent/user_update.go:1307–1310  ·  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

1305
1306// AddTaskIDs adds the "tasks" edge to the Task entity by IDs.
1307func (uuo *UserUpdateOne) AddTaskIDs(ids ...int) *UserUpdateOne {
1308 uuo.mutation.AddTaskIDs(ids...)
1309 return uuo
1310}
1311
1312// AddTasks adds the "tasks" edges to the Task entity.
1313func (uuo *UserUpdateOne) AddTasks(t ...*Task) *UserUpdateOne {

Callers 1

AddTasksMethod · 0.95

Calls 1

AddTaskIDsMethod · 0.45

Tested by

no test coverage detected