Wednesday, March 24, 2021

What if the ref document deleted from the backend in Mongoose's Populate Ref?

Mongoose's populate joins 2 collections by using the ref. 

What if the ref document deleted from the backend?

You still can see the ref when you searching using MongoDb driver and MongoDb Compass. However, you won't see the ref when you search using mongoose.


No comments:

Post a Comment