I'm using node driver to add records to mongo.
I have a collection where one of the fields is: { "$binary": "base64 enconded binary" }.
However a direct injection of the key starting with $ results in error: Error: key $binary must not start with '$'
Question: how to handle this situation? Is there a javascript function I should call that will be interpreted by mongo as BSON binray function (like with the ISODate() - new Date() and NumberLong() -> Long())? Thanks