SetUserTasks sets the "user_tasks" field.
(v int)
| 455 | |
| 456 | // SetUserTasks sets the "user_tasks" field. |
| 457 | func (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. |
| 463 | func (u *TaskUpsert) UpdateUserTasks() *TaskUpsert { |