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

Method SetUserTasks

ent/task_update.go:114–117  ·  view source on GitHub ↗

SetUserTasks sets the "user_tasks" field.

(i int)

Source from the content-addressed store, hash-verified

112
113// SetUserTasks sets the "user_tasks" field.
114func (tu *TaskUpdate) SetUserTasks(i int) *TaskUpdate {
115 tu.mutation.SetUserTasks(i)
116 return tu
117}
118
119// SetNillableUserTasks sets the "user_tasks" field if the given value is not nil.
120func (tu *TaskUpdate) SetNillableUserTasks(i *int) *TaskUpdate {

Callers 2

SetNillableUserTasksMethod · 0.95
SetUserTasksMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected