I am trying to use MongoDB in ubuntu while querying data in MongoDB I am getting null as the answer.
I can get into the database and view collections but when using the find command I am getting null as answer
I taught I typing the spelling wrong but that was not the case, cause I cross-checked the spelling but then I am getting the answer as null
while using the count() function I am getting 0 as and
I checked in the atlas cluster for any missing database but I am seeing all the data
and then I deleted the cluster and recreated the database but the problem was not solved