tmongodao

0.0.16 • Public • Published

tmongodao

  • dao library implementing the dao interface for mongodb.
  • compatible with tmysqlpromisedao

details

  • uses superstruct for schema definition
  • you can extend objects, without mess up your database
  • proxy monk methods
  • follow the dao-pattern described here
  • get-methods batch queries
  • verified partial updates
  • schema is applied and objects are cleaned before insert or update
  • get and find methods support queries by sub documents

todo:

  • testing
  • validate updates
  • update and save events
  • update log based on the events

Readme

Keywords

none

Package Sidebar

Install

npm i tmongodao

Weekly Downloads

0

Version

0.0.16

License

MIT

Unpacked Size

20.7 kB

Total Files

6

Last publish

Collaborators

  • nickeltobias