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

Method SetUserTasks

ent/task_update.go:384–387  ·  view source on GitHub ↗

SetUserTasks sets the "user_tasks" field.

(i int)

Source from the content-addressed store, hash-verified

382
383// SetUserTasks sets the "user_tasks" field.
384func (tuo *TaskUpdateOne) SetUserTasks(i int) *TaskUpdateOne {
385 tuo.mutation.SetUserTasks(i)
386 return tuo
387}
388
389// SetNillableUserTasks sets the "user_tasks" field if the given value is not nil.
390func (tuo *TaskUpdateOne) SetNillableUserTasks(i *int) *TaskUpdateOne {

Callers 1

SetNillableUserTasksMethod · 0.95

Calls 1

SetUserTasksMethod · 0.45

Tested by

no test coverage detected