Findbyidandupdate in array

broken image
broken image

Company and Driver model and I am referencing the Driver Model to the Company. So I’m using the MERN stack to build a dashboard, a fleet management dashboard.

broken image

First time posting on this forum, I hope that I am not asking an existing question… (personally couldn’t find any similar case).

broken image