Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

you can type help to get help...or lesson(7); to skip to the next lesson.

the correct command is db.treasures.find({location: {$near: [0, 0]}, type: "gold"}).limit(5);

you have an extra { infront of "type"...making it invalid json.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: