How do I manage batch save in Mongoose? I saw it may not be possible yet:
Theres some mention about using some flow control library like q
, but I also notice there promises in mongoose, can it be used? Can I do like in jQuery Deferred/Promises
$.when(obj1.save(), obj2.save(), obj3.save()).then ->
# do something?