Ciro Santilli $$ Sponsor Ciro $$ 中国独裁统治 China Dictatorship 新疆改造中心、六四事件、法轮功、郝海东、709大抓捕、2015巴拿马文件 邓家贵、低端人口、西藏骚乱
🔗

MongoDB

| nosplit | ↑ parent "Database" | words: 45 | descendant words: 89 | descendants: 1
🔗
List databases:
echo 'show dbs' | mongo
🔗
Delete database:
use mydb
db.dropDatabase()
or:
echo 'db.dropDatabase()' | mongo mydb
🔗
View collections within a database:
echo 'db.getCollectionNames()' | mongo mydb
🔗
Show all data from one of the collections: https://stackoverflow.com/questions/24985684/mongodb-show-all-contents-from-all-collections
echo 'db.collectionName.find()' | mongo mydb
🔗
🔗

Ancestors

🔗