Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Created by Guest
Created on May 30, 2021

Add two more entries to the sample_training.zips collections

The lab task currently can be solved without paying attention to the difference between the $lt vs $lte and $gt vs $gte operators: MongoDB Enterprise atlas-7ooiae-shard-0:PRIMARY> db.zips.find({"pop" : { $gte: 5000,$lte: 1000000}}).count() 11193 MongoDB Enterprise atlas-7ooiae-shard-0:PRIMARY> db.zips.find({"pop" : { $gt: 5000,$lt: 1000000}}).count() 11193 Adding two more documents (one with 5000 and the other one with 1000000 "pop" value) would draw attention to this difference
  • Attach files