I am using MongoDB as my database for NodeJS system what working heavily with it database.
I am using Mongoose module as database controller.
My question is: Is MongoDB or Mongoose somehow caching queries? I am experiencing problems with fetching data from database.
What I mean by that?
When I for for example use aggregate db query in same second and I expect different results, I am getting same result.
It can be caused by my code, but before I start digging into I need to be sure that its not caused by some hidden cashing feature.