ozomer/node-red-contrib-mongodb2

projection not implemented?

JonSilver opened this issue · 1 comments

Is there any way to selectively include/exclude document properties in the query results?

It's ok, I found how to include a projection in the query.

Just in case anyone else has difficulty finding how it works:
msg.payload = [{ 'firstname' : 'Cedric' }, {"firstname": 1, "lastname": 1, "_id": 0}];