1.0.0 • Published 2 years ago
mongodb-interaction-helpers v1.0.0
These two helpers can be used to create and delete a database in mongoDB Atlas.
Simply add the uri, database name, and collection name to the function call. If you are creating a db, make sure to add a JS Object e.g.
const obj = [{ name: 'John', age: 30 }, { name: 'Peter', age: 40 }];
1.0.0
2 years ago