I've posted about an issue on the mongo node ( Add output on mongodb OUT node to provide status (success/fail) ) provided in the extra nodes.
Basically, the mongo-out doesn't have a way to retrieve when and if an operation is done. A workaround is to use the status emitted by the node, but this cannot be used in conjunction with the http in/out nodes for example (as the msg.req, msg.res... properties are lost).
I've forked the node to add another output, among another improvements. (https://flows.nodered.org/node/node-red-contrib-mongodb). knolleary suggested that I implement those changes in the "official" mongo node.
Here's what I would change :
Merge the two nodes (mongo-in and mongo-out) so that every action has an output emitted when the action is done, with the query result (node emits the mongo response object).
Emit a result when any operation is done (status only or result)
I've also removed the "store whole msg instead of payload only" option for the save/insert actions, I think it's bad practice, I might be wrong ?
Not implemented yed, but I would like to make the node try to convert the _id property to ObjectID, as is annoying to do in a function node beforehand every time.
It's a pretty big breaking change (me might not want to merge the two nodes so it stays retro-compatible), so feel free to leave any additions/suggestions/remarks/comments