Files
test-repo/tests/format/js/functional-composition/mongo_connect.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
127 B
JavaScript
Raw Normal View History

MongoClient.connect(
"mongodb://localhost:27017/posts",
(err, db) => {
assert.equal(null, err);
db.close();
}
);