发布于 2015-09-14 15:15:41 | 112 次阅读 | 评论: 0 | 来源: 网络整理
-
$or
Takes an array of one or more values and returns true if any of the values in the
array are true. Otherwise $or returns false.
注解
$or uses short-circuit logic: the operation
stops evaluation after encountering the first true expression.