Closed petr24 closed 7 years ago
Unfortunately not. Collection hooks are wrapping method calls, not actually watching the database itself. With server-side observeChanges, I believe you could do what you want.
Gotcha, Thanks! Great package regardless.
Is it possible to have a collection hook trigger when an action is performed via Robomongo?
For instance, if I remove a document from Robomongo the collection hook does nothing. However I have some server side observers for custom added/changed/removed and those get triggered when I do something via Robomongo. Not sure if this package can catch that same event. And the observers that I have only observe a subset of data so I can't rely on that for what I want.
Thanks.