mongodb-interaction-helpers

1.0.0 • Public • Published

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 }];

Package Sidebar

Install

npm i mongodb-interaction-helpers

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

1.87 kB

Total Files

3

Last publish

Collaborators

  • jschof1