Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
248 B
1
Indexable
Never
create dbjs › re] url
1
2
3
4
5
6
var MongoClient = require ('mongodb' ). Mongoclient;
var url
=
"mongodb://localhost: 27017/newDB1";
MongoClient.connect(url, function(err,db)f
if(err) throw err;
console.log("database created");
db.close():
7
1):