localbase
localbase copied to clipboard
getting collection wrong data
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
Could you post a code example or more information?