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

Method SetUserTasks

ent/task_create.go:621–625  ·  view source on GitHub ↗

SetUserTasks sets the "user_tasks" field.

(v int)

Source from the content-addressed store, hash-verified

619
620// SetUserTasks sets the "user_tasks" field.
621func (u *TaskUpsertOne) SetUserTasks(v int) *TaskUpsertOne {
622 return u.Update(func(s *TaskUpsert) {
623 s.SetUserTasks(v)
624 })
625}
626
627// UpdateUserTasks sets the "user_tasks" field to the value that was provided on create.
628func (u *TaskUpsertOne) UpdateUserTasks() *TaskUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected