Skip to content

imlucas/mongodb-trigger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongodb-trigger

build status

Work in progress

Example

@todo

Install

npm install --save mongodb-trigger

Test

npm test

License

MIT

Todo

  • determine if full resync really needed
  • keep track of sync times/versions in local.triggers
  • make a command/control tailable cursor so if the root collection (eg runs) is resyncing, children that are listening (e.g. mtp) will pause and do a full resync when the root is finished.
  • support version so when I change my resync handler, mongodb-trigger will see the version change and automatically resync.