If you got it right, it will provide a validation code for you to enter into the box below. The templates comprise the view. Enter just the code, no spaces. MongoDB for Developers Homework 2. The pymongo statements that you are going to add will add a new user to the database upon sign-up, and validate a login by retrieving the right user document. You should see three files at the highest level:
Use that data set to answer this question. Any other missing packages will show up when validate. Find all exam scores greater than or equal to 65, and sort those scores from lowest to highest. When you login or sign-up, the blog will redirect to http: If not, use the following commands.
There is also a views directory which contains the templates for the project.
Once you have the the project working, the following steps should work: The dataset contains 4 scores each for students.
Enter just the code, no spaces. The blog stores its data in the blog database in two collections, users and sessions.
MongoDB university m101p chapter 2 homework
There was one additional program that should have been downloaded in the project called validate. Please enter just the number, with no spaces, commas or other characters.
In this problem, you will be using a collection of student scores that is similar to what we used in the lessons. To confirm you are on the right track, here are some queries to run after you process the data and put it into the grades collection: When you login or sign-up, the blog will redirect to http: Let us count the number of grades we have: To verify that you have completed this task correctly, provide the identity of the student with the highest average in the class with following query that uses the aggregation framework.
Now it’s your turn to analyze the data set. Please query the video. It should redirect you to the welcome page and say: Newer Post Older Post Home. If you got it right, it will provide a validation code for you to enter into the box below.
Blog User Sign-up and Login Download the handout and unpack it. Sunday, January 22, [Solution] Week 2: You should not need to touch any other code.
[Solution] Week 2 : CRUD: MP: MongoDB for Developers
The result should be Find all exam scores greater than or equal to 65, and sort those scores from lowest to highest. Now Go to http: There is a dump of the video database included in the handouts for the “Creating Documents” lesson. The templates comprise the view. If everything is working properly, you should be able to start the blog by typing: Note that your blog must be running when you run the validator.
If not, use the following commands. You should see three files m101o the highest level: MongoDB for Developers Homework 2. We have removed two pymongo statements from userDAO. Any other missing packages will show up when validate.
MongoDB university mp chapter 2 homework – bigmongodb
For those who are using MongoHQ, MongoLab homeqork want to run the webserver on a different host or port, there are some options to the validation script that can be exposed by running. If you select homework grade-documents, sort by student and then by score, you can iterate through and find the lowest score for each student by noticing a change in student id.
In this problem, you will be using a collection of student scores that is similar to what we used in the lessons.