Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
mongodb [30.05.2016 @ 11:25]
Christophe Frattino
mongodb [30.05.2016 @ 11:34] (current)
Christophe Frattino [List collections]
Line 27: Line 27:
 <​code>​show databases</​code>​ <​code>​show databases</​code>​
 <​code>​use uploads_pol_west</​code>​ <​code>​use uploads_pol_west</​code>​
-==== List collections ====+==== List collections ​and show their content ​====
 <​code>​show collections</​code>​ <​code>​show collections</​code>​
 +<​code>​db.collectionName.find()</​code>​
Print/export