Google News
logo
MongoDB - Quiz(MCQ)
________ returns either the non-null result of the first expression.
A)
$Null
B)
$ElseNull
C)
$ifNull
D)
None of the above

Correct Answer :   $ifNull


Explanation : $ifNull returns the result of the second expression if the first expression results in a null result.

Advertisement