How to create a new property those value is ObjectId?
Question
Subject. I've tried doing: { $oid: }, of course it's not an ObjectId because of an obvious ambiguity.
And when attempting to write ObjectId() - of course it complains about it not being a proper JSON