New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mongodbeginner

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodbeginner

make your using MongoDB easier

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

mongodbeginner

npm make you to use MongoDB easier

how to use

dbUrl is setted default value "mongodb://localhost:27017"

update

if succeeded, return true. else, return false.

mongodbeginner.update(dbName, collectionName, filter, data, dbUrl)

insert

if succeeded, return true. else, return false.

mongodbeginner.insert(dbName, collectionName, data, dbUrl)

upsert(divided from update)

if succeeded, return true. else, return false.

mongodbeginner.upsert(dbName, collectionName, filter, data, dbUrl)

find

if succeeded, return found data array.

mongodbeginner.find(dbName, collectionName, filter, dbUrl)

findOne

if succeeded, return found data object.

mongodbeginner.find(dbName, collectionName, filter, dbUrl)

remove

if succeeded, return true. else, return false.

mongodbeginner.remove(dbName, collectionName, filter, dbUrl)

Keywords

mongodb

FAQs

Package last updated on 03 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts