arielweinberger / nestjs-recipe

NestJS Best Practices Recipe
MIT License
826 stars 437 forks source link

How do we add the task back to the user? #9

Open itstheandre opened 4 years ago

itstheandre commented 4 years ago

[Edit] Pressed enter too soon without writing the issue

In the video where we add a user to a task, its totally clear. But wouldnt it make sense if we could, at the same time, add the task back to the user?

Is this something that is simple? Or not really?

tanishqdaiya commented 3 years ago

Could you be more clear. If you are asking about relationship between user and task, it will be relationship between both of them, it will just depend on the context of it. if it is one to many on the left table then, it has to be many to one of the right table.