I want to change a field type on mongodb for a collection from BsonBinary to ObjectId I wonder what is the query I should use to convert that field ?
By mongodb shell
db.company.updateMany({}, {????})
I tried unset then set but still not working