MongoDB C100DBA Exam - Topic 1 Question 25 Discussion
Consider that our posts collection contains an array field called tags that contains tags that the user enters. {Which of the following commands will find all the posts that have been tagged as tutorial.
C) db.posts.find( { tags : 'tutorial' } );
A) db.posts.find( { tags : ['tutorial'] } );
B) db.posts.find( { $array : {tags: 'tutorial') > );
D) db.posts.findInArray( { tags : 'tutorial' > );
Xuan
8 months agoLonna
9 months agoChrista
9 months agoHobert
9 months agoTracey
9 months agoIvan
9 months agoArlean
9 months agoRonna
9 months agoBlythe
9 months agoLeonard
9 months agoLemuel
9 months agoLaurene
9 months agoWilford
9 months ago