Mongoose find by ObjectID reference
You can request a town by name and use the mongoose populate method to fill the ads Array from town object.
You can find examples in the mongoose documentation:
You can request a town by name and use the mongoose populate method to fill the ads Array from town object.
You can find examples in the mongoose documentation: