This topic created in 3158 days ago, the information mentioned may be changed or developed.
有大概一两千个数据 准备批量插入 但里面有重复的数据不想重复插入.如果一个个 find 的话,势必不能批量插入.如果用 unique index 的话,有一个重复底下就不插了 所以就是想问问....
1 replies • 2018-03-19 09:25:57 +08:00
 |
|
insertMany,ordered 参数设为 false
|