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

Method SetUserTasks

ent/task_create.go:125–128  ·  view source on GitHub ↗

SetUserTasks sets the "user_tasks" field.

(i int)

Source from the content-addressed store, hash-verified

123
124// SetUserTasks sets the "user_tasks" field.
125func (tc *TaskCreate) SetUserTasks(i int) *TaskCreate {
126 tc.mutation.SetUserTasks(i)
127 return tc
128}
129
130// SetNillableUserTasks sets the "user_tasks" field if the given value is not nil.
131func (tc *TaskCreate) SetNillableUserTasks(i *int) *TaskCreate {

Callers 1

SetNillableUserTasksMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected