Socket
Book a DemoInstallSign in
Socket

@stejnar/mongoopose

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stejnar/mongoopose - npm Package Compare versions

Comparing version

to
1.3.3

2

package.json
{
"name": "@stejnar/mongoopose",
"version": "1.3.2",
"version": "1.3.3",
"description": "functional programming for mongoose",

@@ -5,0 +5,0 @@ "dependencies": {},

@@ -34,7 +34,4 @@

There is no npm package at the moment!</br>
So this is the way to go:
npm install @stejnar/mongoopose
npm install git@https://github.com/Stejnar/mongoopose.git
# Usage

@@ -130,2 +127,19 @@

#### Params.as
Type: *String* </br>
Default: mongoose.Model.modelName</br>
This is the key with that a queries result gets assigned to *Params*.
#### Params.select
Type: Object </br>
This is the selector that gets passed into mongoose queries.
#### Params.query
Type: Object </br>
This is the update object for Model.update()
#### Params.save
Type: Object </br>
This gets passed into the mongoose model constructor for Model.save().
#### Params.add()

@@ -132,0 +146,0 @@