SetUser sets the "user" edge to the User entity.
(u *User)
| 146 | |
| 147 | // SetUser sets the "user" edge to the User entity. |
| 148 | func (tu *TaskUpdate) SetUser(u *User) *TaskUpdate { |
| 149 | return tu.SetUserID(u.ID) |
| 150 | } |
| 151 | |
| 152 | // Mutation returns the TaskMutation object of the builder. |
| 153 | func (tu *TaskUpdate) Mutation() *TaskMutation { |