$or (aggregation)

$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.

MongoDB Manual (Index)

关于

生态系统

格式

资源