Chapter 5 sort(),limit() quiz 2 doubt

I tried to search the date using this statement to filter when the birth year is not void.

db.trips.find({"birth_year":{"$ne":""}}).sort({"birth_year":-1}).limit(1) 

The result I got was that:

You are making the same mistake as

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.