adnan-notes

1.0.0 • Public • Published

notes-mongodb-app

Input Functions

constructor()

[constructor input]

getAction()string

[getAction description]

getPayload()string

[getPayload description]

isValid()Boolean

[isValid description]

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]

get(_id, category)promise

[get description]

update(_id, record)promise

[update description]

delete(_id)promise

[delete description]

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]

Dependents (0)

Package Sidebar

Install

npm i adnan-notes

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

14.6 kB

Total Files

12

Last publish

Collaborators

  • adnan-iug