Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

collections are not shown in database in Robomongo 0.8.5

Tags:

mongodb

robo3t

In my mongodb one database contains thee collections, but when i run Robomongo 0.8.5 collections of my database are not shown(left side of the Robomongo 0.8.5(file explorer).

If i run following query in Robomongo 0.8.5, it shows all the collection.

db.stats()

another query to show collection

db.collectionName.find()//it shows all documents in collection

please suggest solution for this problem.

like image 224
Prathap Badavath Avatar asked Dec 22 '15 10:12

Prathap Badavath


People also ask

Is collection a database in MongoDB?

MongoDB stores data records as documents (specifically BSON documents) which are gathered together in collections. A database stores one or more collections of documents.

How do I show all data in a collection in MongoDB?

How do you list all collections in MongoDB? You can show all the available collections in the database you are working in my using the show collections method. Alternatively, you can also use the db. getCollectionNames() method to get the same results in an array.

How many collections can a database have MongoDB?

In general, we recommend limiting collections to 10,000 per replica set. When users begin exceeding 10,000 collections, they typically see decreases in performance. To avoid this anti-pattern, examine your database and remove unnecessary collections.

How do you create a collection in MongoDB using robo 3T?

Creating the first Collection in the MongoDB Database using Robo 3T. Once the database is created, click the arrow on the left-side of the testDatabase then right click on the Collections(0) folder (0 means no collection) and select the Create Collection... in the menu.


1 Answers

Robomongo 0.8.x is not compatible with MongoDB 3.x. Try MongoChef.

like image 149
sami ayed Avatar answered Oct 03 '22 08:10

sami ayed