ObjectID not storing hexadecimal value

三世轮回 提交于 2019-12-01 22:44:56

Answering my own question!

Seemed to be something goofy happening with the brew installation of MongoDB. Manually re-installing it from http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/ and then restoring my backed up database seemed to do the trick.

I'd still love to know from a from a code/technical standpoint why my environment suddenly decided to start returning the 12-byt BSON ObjectID rather than the Hexadecimal ObjectID... but until then hopefully a simple manual re-install will help others who come across this strange issue!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!