mongo-writer

1.0.0 • Public • Published

mongo-writer

Usage

const Writer = require('../Writer')
const writer = new Writer({ collection: User })

writer.update(
    {
        username: 'shovity',
    },
    {
        $set: {
            say: 'hi',
        }
    },
    {
        upsert: true,
    },
)

Readme

Keywords

none

Package Sidebar

Install

npm i mongo-writer

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.49 kB

Total Files

6

Last publish

Collaborators

  • shovity