There was an error while loading. Please reload this page.
List the databases:
show dbs
Create/use a database:
use database name
database name
See collections inside a database:
show collections
Count values inside the collection:
db.collectionname.count()
collectionname
See data inside the collection:
db.collectionname.find()
To see proper JSON formatted data:
db.collectionname.findOne()
To remove an entry from the mongodb:
db.collectionname.remove({'key': 'value'})
key
value
eg.
db.actions.remove({'workflow': 'cmsunified_ACDC0_task_B2G-RunIIFall17wmLHEGS-02050__v1_T_191029_073632_8054'})
Sorry, there was an error rendering this page.