Question: With NoSQL database like MongoDB or DynamoDB. Write a Python function to add records to the database. Write another Python function to search the database


With NoSQL database like MongoDB or DynamoDB. Write a Python function to add records to the database. Write another Python function to search the database and return a record. Your functions should be able to handle the dictionary below as test data.

students = { \"12125454\" : { \"name\" : \"Hilda\", \"major\" : \"App Dev\" }, \"54009323\" : { \"name\" : \"Tony\", \"major\" : \"CS\" }, \"37882108\" : { \"name\" : \"Louise\", \"major\" : \"IT\" }}




Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!