I am using TingoDB and it uses all Mongodb syntax. I have one collection where I am saving around 70K documents but when I run find query without any filter it returns only around 42K documents. I do not know what I am doing wrong.
Please find below code,
collection().find().count(function(err, c){
console.log("count is: ",c);
console.log("err is: ",err);
});
I also checked the file where records are saved and I am sure not all records are returning. Can somebody please help me out here.
TIA Mangesh