SetUser sets the "user" edge to the User entity.
(u *User)
| 416 | |
| 417 | // SetUser sets the "user" edge to the User entity. |
| 418 | func (tuo *TaskUpdateOne) SetUser(u *User) *TaskUpdateOne { |
| 419 | return tuo.SetUserID(u.ID) |
| 420 | } |
| 421 | |
| 422 | // Mutation returns the TaskMutation object of the builder. |
| 423 | func (tuo *TaskUpdateOne) Mutation() *TaskMutation { |