I have been using node-red-contrib-mongodb2 but it's poorly supported. I'm in the process of migrating to node-red-node-mongodb, and I have two challenges:
I use logic that tests for the outcome of updates and inserts (e.g. possibility of key not found or duplicate key), but I don't see how to do that with the mongodb node. Are exceptions thrown? What is recommended?
I'm currently able to do a partial update of a document, e.g. there are 10 fields and I want to change 2 of them without eliminating the others. I can do that in mongodb2, but it isn't obvious how to do it with mongodb.