ariogoke (8) [Avatar] Offline
#1
should be:
db.users.find({ $or: [{username: “smith”}, {username: “jones”}] })

NOT:
db.users.find({ $or: [{username: “smith”}, {username: “jones”}] )


It is probably worth reminding folks that query data values is case sensitive.
Thus…
db.users.find({username: “Smith”})

IS NOT the same as...
db.users.find({username: “smith”})