To avoid treating numeric or boolean literals as projection flags, use the _______ expression to wrap the numeric or boolean literals.
A. $literal
B. $bool
C. $unwin
D. None of the mentioned
Answer:A
To avoid treating numeric or boolean literals as projection flags, use the _______ expression to wrap the numeric or boolean literals.
A. $literal B. $bool C. $unwin D. None of the mentioned
Explanation:The $literal expression has the following syntax: { $literal: } 10. MongoDB treats the literals as projection flags, valid only in the _______ stage.