阅读背景:

如何删除在nodejs / mongodb本机库中将_id(作为字符串)转换为新的ObjectID(字符串)的需要?

来源:互联网 

Each time I have to perform a query involving _id, I have to do new ObjectID( _idAsString) in order for it to work. I realize mongo tests the object, not the value itself, but this is adding a lot of overhead and I may miss converting it in some places.Each time I have to perform a query involving _




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: