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

Method AddTaskIDs

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

241
242// AddTaskIDs adds the "tasks" edge to the Task entity by IDs.
243func (uc *UserCreate) AddTaskIDs(ids ...int) *UserCreate {
244 uc.mutation.AddTaskIDs(ids...)
245 return uc
246}
247
248// AddTasks adds the "tasks" edges to the Task entity.
249func (uc *UserCreate) AddTasks(t ...*Task) *UserCreate {

Callers 1

AddTasksMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected