MongoDB update field value as ObjectId

Like I said in other question about date support, In the MongoDB documentation there is support for Extended JSON - Node driver should support this already. And so, a ObjectId could be represented by:

{"$oid":"5d505646cf6d4fe581014ab2"}
1 Like