阅读背景:

MongoDB批量插入已存在许多文档的位置

来源:互联网 

I have a largish (~100) array of smallish documents (maybe 10 fields each) to insert in MongoDB. But many of them (perhaps all, but typically 80% or so) of them will already exist in the DB. The documents represent upcoming events over the next few months, and I'm updating the database every couple of days. So most of the events are already in there.I have a largish (~100) array of smallish docum




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

分享到: