Question: Which command will find all the posts that have a topic _ category as logic. db . posts.find ( { topic _ category :

Which command will find all the posts that have a topic_category as logic.
db.posts.find({ topic_category : " logic "})
db.posts.find({ topic_category : ["logic "]})
db.posts.find({ $array : { topic_category: " logic "}})
db.posts.findInArray({ topic_category : " logic "})

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!