I was trying to solve the “Ticket: Projection” lab in Chapter 1, but I couldn’t make the tests pass.
After trying all sorts of code combinations, I opened the db in my shell and searched for the data the tests were expecting. But I couldn’t find it…
Are my queries wrong, am i using the wrong db or collection?
Or could there be a problem with the data/tests?
Here is what I tried:
(The tests expect the last to queries to return some documents)