For some reason when I call
db.collection('collectionName')
the first time it gives wrong data (not a list of keys but some other unrelated object)
it only happens on the first time of calling db.collection('collectionName') if I call it again it will give correct result.
For some reason when I call
db.collection('collectionName')
the first time it gives wrong data (not a list of keys but some other unrelated object) it only happens on the first time of calling
db.collection('collectionName')
if I call it again it will give correct result.I think there is something with caching