note sur mongo DB

Installation dans ubuntu :

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

installer studio 3T:

How to Install Studio 3T

d’autres outils:

https://www.guru99.com/top-20-mongodb-tools.html

*********************************************************************************

les commands utils

show dbs, show databases

use db-lyu

db : afficher la base actuelle

show collections

mongoose :

connection :fsdfs

mongoose.connect('mongodb://localhost/test', {useNewUrlParser: true});
const db = mongoose.connection;
db.once('open', function() {
  // we're connected!
});

发表评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注

购物车