Socket
Socket
Sign inDemoInstall

@mconnect/crud-mg

Package Overview
Dependencies
27
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mconnect/crud-mg

mConnect MongoDB CRUD operations, crud-mongo re-write


Version published
Weekly downloads
5
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

Version 0.1.3

  • Release date: May 16, 2020
  • Correct the unhandled exception due to null/undefined in GetRecord and DeleteRecord APIs"

Readme

Source

@mconnect/crud-mg

  • mConnect MongoDB CRUD operations, crud-mongo re-write

Installation

$ npm install @mconnect/crud-mg

APIs

// Classes' signatures GetAllRecord(params : object, appDb : function, options : object = {}) : array GetAllRecords(params : object, appDb : function, options : object = {}) : array

Example

// Coming soon
const {GetAllRecord, newGetAllRecord} = require('@mconnect/crud-mg');

// instance call
const itemInstance = new GetAllRecord({coll: 'services', }, appDb, options = {});

// instance wrapper function call
const itemFactory = newGetAllRecord({coll: 'services', }, appDb, options = {});


Keywords

FAQs

Last updated on 17 May 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc