mongodb – Use collection get from req.params – node.js

I’m using node.js and mongodb I need to know how to request the reading of a certain collection via API, example:
(day_07-07-2021 is the collection to search)


in the Node.js route I wanted to query the collection day07072021, I wanted to know how I change the collection (on the fly) to query the route using the “req.param” received via URL.
so after setting the collection I’ll do find();

I hope it was clear.