Hey programmers,
Question: There is some concern that restaurants who ever received a grade of "C" might need inspections on a more regular basis.
my code: db.restaurants.find({"grades.grade":"C")}
The query runs fine but I get a list of all the restaurants that received a grade of A - D
Is there anyway that i get the results of the restaurants that ONLY received a grade of "C" ??
I'm still new to this program so any help would be greatly appreciated!
This post was edited by roflchopter on Feb 3 2017 06:08pm