mongodb show database command linux
show databases
show dbs
mongodb show database command linux
show databases
show dbs
mongodb show database command linux
show collections
show tables
db.getCollectionNames()
how to see databases in mongodb
>show dbs
show dbs in mongodb
//show all databases
db.adminCommand( { listDatabases: 1 } )
view mongodb database
>db.mycol.insert({
_id: ObjectId(7df78ad8902c),
title: 'MongoDB Overview',
description: 'MongoDB is no sql database',
by: 'tutorials point',
url: 'http://www.tutorialspoint.com',
tags: ['mongodb', 'database', 'NoSQL'],
likes: 100
})
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us