Skip to content

Conversation

@mlaspina
Copy link

Minor fixes to javascript crud lab - Removed duplicate exercise in lab 100, Fixed projections in labs 101 and 103

Copy link
Collaborator

@dfreniche dfreniche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO we shouldn't delete that example with the $and shorthand operator, thoughts?

"id": "9f6caab3",
"metadata": {},
"source": [
"### Exercise: get all books from 2010 and 2012"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is not actually a duplicate, as we're introducing a shorthand $and operator. I wouldn't delete it

" $project: {\n",
" _id: 0,\n",
" title: 1,\n",
" name: 1,\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦 yes, should be name

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