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

Method SetUserTasks

ent/task_create.go:457–460  ·  view source on GitHub ↗

SetUserTasks sets the "user_tasks" field.

(v int)

Source from the content-addressed store, hash-verified

455
456// SetUserTasks sets the "user_tasks" field.
457func (u *TaskUpsert) SetUserTasks(v int) *TaskUpsert {
458 u.Set(task.FieldUserTasks, v)
459 return u
460}
461
462// UpdateUserTasks sets the "user_tasks" field to the value that was provided on create.
463func (u *TaskUpsert) UpdateUserTasks() *TaskUpsert {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected