zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

Mongodb $in $or 性能比较

MongoDB性能 in 比较 or
2023-09-11 14:15:05 时间

 

MongoDB docs have the answer:

"When using $or with <expressions> that are equality checks for the value of the same field, choose the $in operator over the $or operator."