Data Not Show under the documents

Data not show under the documents but when i run “db.users.find()” this code show data in mongodb.

I want data show under the documents…

Hello @A.M.M.Sajeeth,

I can see in the UI, the Blood_Bank > Users collection is opened.

Possibly you have selected a different database in the shell. you can execute db command and it will show the current selected database.

You can change the database in the shell by use <database name> and then you can execute your query.

Note: The collection name is case-sensitive, so Users and users are both different.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.