Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from JoshuaBelden/fix-mongo-backup
Added backup of verb import for mongodb. You can access like so: ``` const mongodb = require("mongodb").MongoClient; const url = "mongodb:https://localhost:27017/"; csvtojson() .fromFile("jehle_verb_database.csv") .then(data => { mongodb.connect(url, { useNewUrlParser: true, useUnifiedTopology: true }, (error, client) => { client .db("fred-jehle") .collection("conjugaciones") .insertMany(data, (err, res) => { client.close(); }); } ); }); ```
- Loading branch information