The $and operator uses short-circuit evaluation

SAE-PP-00368

03/13/2021

Authors Abstract
Content
$and performs a logical AND operation on an array of one or more expressions (e.g. , , etc.) and selects the documents that satisfy all the expressions in the array. The $and operator uses short-circuit evaluation. If the first expression (e.g. ) evaluates to false, MongoDB will not evaluate the remaining expressions.
Meta TagsDetails
Citation
SintzADMIN, J., "The $and operator uses short-circuit evaluation," SAE MobilityRxiv™ Preprint, submitted March 13, 2021, https://doi.org/10.47953/SAE-PP-00368.
Additional Details
Publisher
Published
Mar 13, 2021
Product Code
SAE-PP-00368
Content Type
Pre-Print Article
Language
English