MongoDB C100DBA Exam - Topic 1 Question 8 Discussion
Which of the documents below will be retrieved by the following query? Assume the documents are stored in a collection called "sample". Check all that apply.db.sample.find( { "$or" : [ { "a" : { "$in" : [ 3, 10] > }, { "b" : { "$lt" : 2 > > ] > )
D) { ''\ Jd' : 9, 'a' : 17, 'c' : 1, 'b' : 1} and E) { \ Jd' : 10,'a' : 3, 'c' : 1, 'b' : 1} and F) {'. Jd' : : 2, 'a' : 2, 'c' : : 0, 'b' : 1} and I) {'. Jd' : : 5, 'a' : 3, 'c' : : 0, 'b' : 12} and J) {'. Jd' : : 8, 'a' : 11, 'c' : 1, 'b' : 0}
A) {''_ _id' : 3, 'a' : 4, 'c' : 0, 'b' : 14}
B) {''_ Jd' : 7, 'a' : 8, 'c' : 1, 'b' : 7}
C) {'. Jd' : 6, 'a' : 1, 'c' : 1, 'b' : 5}
G) {'. Jd' : : 4, 'a' : 5, 'c' : : 0, 'b' : 17}
H) {'. Jd' : : 1, 'a' : 0, 'c' : : 0, 'b' : 2}
Chun
8 months agoWillard
9 months agoSunshine
9 months agoAgustin
9 months agoDomitila
9 months agoTresa
9 months agoFlorencia
9 months agoTish
9 months agoVallie
9 months agoMarvel
9 months agoOtis
9 months agoPeggie
9 months agoAntione
9 months ago