npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

tmongodao

0.0.13 • Public • Published

tmongodao

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

details

  • uses superstruct or schema
  • you can extend objects, without mess up your database
  • proxy monk methods
  • follow the dao-schema described here
  • getMethods betch queries
  • save method uses mongodb's update as mongodb's update is depricated
  • schema is applied and objects are cleaned before insert or update
  • get and find methods have pathing

todo:

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

Keywords

none

install

npm i tmongodao

Downloadsweekly downloads

16

version

0.0.13

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability