Conversation
Added events / alternative for PubSub
// Hook-like
collection.on('save', function(doc) { }) // Will be called before saving a document - no matter if using save, insert or update methods. You can modify the document in this event, it's essentially a hook
// After operation is complete
collection.on('saved', function(docs) { }) // Called after inserting or updating documents is complete; docs is an array of documents
collection.on('removed', function(ids) { }) // Called after removing documents is complete; ids is an array of ids
|
Hi, does the pull request make tingo use new mongodb driver 2.xx ? |
|
@anhoev at the time of this writing, yes of course |
|
I see, but it did not pass the test ? |
|
@anhoev |
|
@sergeyksv this pull request is very important . Why do you not accept it ? |
|
@anhoev now, this project is easier to rewrite to ES6, than to adapt it to new versions of modules |
|
@wormen you're right, I think @sergeyksv is open to pull requests. |
|
@wormen Can you make tungus work with mongoose 4.x ? |
|
@ex1st : i see , thanks you . |
|
@anhoev then better 5.x |
|
@wormen i see , 5.x will be better . Can you send me your skype or email to my email : info@star-kasse.de. |
|
@anhoev sended |
No description provided.