

InterviewSolution
Saved Bookmarks
1. |
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 mentionedI got this question during an internship interview.The origin of the question is Aggregation Mechanics in section Aggregation Concepts and Aggregation Mechanics of MongoDB |
Answer» Correct option is (a) $LITERAL |
|