If all documents for the $min operation have null value for the field or are missing the field, the $min operator returns ____ for the minimum value.
A. 1
B. 0
C. null
D. None of the mentioned
Answer:A
If all documents for the $min operation have null value for the field or are missing the field, the $min operator returns ____ for the minimum value.
A. 1 B. 0 C. null D. None of the mentioned
Explanation:If some, but not all, documents for the $min operation have either a null value for the field or are missing the field, the $min operator only considers the non-null and the non-missing values for the field. 10.$addToSet returns an array of all _______ values that results from applying an expression to each document.