ClearUserTasks clears the value of the "user_tasks" field.
()
| 396 | |
| 397 | // ClearUserTasks clears the value of the "user_tasks" field. |
| 398 | func (tuo *TaskUpdateOne) ClearUserTasks() *TaskUpdateOne { |
| 399 | tuo.mutation.ClearUserTasks() |
| 400 | return tuo |
| 401 | } |
| 402 | |
| 403 | // SetUserID sets the "user" edge to the User entity by ID. |
| 404 | func (tuo *TaskUpdateOne) SetUserID(id int) *TaskUpdateOne { |
nothing calls this directly
no test coverage detected