3 ms·
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"}).l
by latch 16y ago
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.