Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leon #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

leon #9

wants to merge 1 commit into from

Conversation

leonplaza
Copy link

No description provided.

@sh-ih
Copy link

sh-ih commented Nov 22, 2023

This was a very long lab, but you did a great job.

On question 8, you needed to include the name of the company too:
c.find(filters, {"_id":0, “name”:1,"number_of_employees":1})

On 11, you should include the name to be able to identify the companies. An option could be:

query = {"founded_month": {"$gte": 7, "$lte": 12}}
projection = {"_id":0, "name":1, "founded_month": 1}
list(c.find(query, projection).limit(1000)) [:5]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants