adnan-notes
v1.0.0
Published
## Input Functions
Downloads
2
Readme
notes-mongodb-app
Input Functions
constructor()
[constructor input]
Kind: global function
getAction() ⇒ string
[getAction description]
Kind: global function
Returns: string - [description]
getPayload() ⇒ string
[getPayload description]
Kind: global function
Returns: string - [description]
isValid() ⇒ Boolean
[isValid description]
Kind: global function
Returns: Boolean - [description]
Note Functions
create(record) ⇒ promise
[create description]
Kind: global function
| Param | Type | | --- | --- | | record | object |
get(_id, category) ⇒ promise
[get description]
Kind: global function
| Param | Type | | --- | --- | | _id | number | | category | string |
update(_id, record) ⇒ promise
[update description]
Kind: global function
Returns: promise - [description]
| Param | Type | Description | | --- | --- | --- | | _id | number | [description] | | record | object | [description] |
delete(_id) ⇒ promise
[delete description]
Kind: global function
Returns: promise - [description]
| Param | Type | Description | | --- | --- | --- | | _id | number | [description] |