In our posts collection, which command can be used to find all the posts whose author names begin lie between \"A\" and \"C\" in dictionary order?
belongs to collection: MongoDB MCQ Quiz (Multiple Choice Questions And Answers)
All Answers
total answers (1)
Correct Answer:
A.db.posts.find( { post_author : { $gte : "A" , $lte : "C" } } );
need an explanation for this answer? contact us directly to get an explanation for this answer