Here MongoDB entries shows 3889 , but it all shows empty.
But if i try to get with api then it showing all data.
How that is possible, and which case this things happen ??
Here MongoDB entries shows 3889 , but it all shows empty.
But if i try to get with api then it showing all data.
How that is possible, and which case this things happen ??
This started happening to me recently also, to check simply go in to the mongo console, and type:
db.collection.find()
Have a look at your data, you'll you may find one of the document entries is assigned the value of NaN
.
How can this occur? At least in Javascript, if a variable doesn't exist when sent to collection.update()
it becomes NULL
, if you then add to it, it becomes 'NaN'.
This is at-least one case when the RockMongo PHP code bugs out and only shows the title and no data of a document.