CS340 Final Project Milestone One.docx - 4-1: Final Project...

This preview shows page 1 - 3 out of 3 pages.

The preview shows page 2 - 3 out of 3 pages.
4-1: Final Project Milestone One: Implementing CRUD Operations in PythonRoberto SotoCS-340: Client/Server Development4-1: Final Project Milestone One: Implementing CRUD Operations in PythonSouthern New Hampshire University
4-1: Final Project Milestone One: Implementing CRUD Operations in Python1)Develop a function tocreatea document in the MongoDB database “city” in thecollection “inspections.” Be sure it can handle error conditions gracefully.a.Input -> argument to function will be set of key/value pairs in the data typeacceptable to the MongoDB driver insert API callb. return -> True if successful insert else False (require a screenshot)2)Develop a function toreada document in the MongoDB database “city” in the collection“inspections.” Be sure it can handle error conditions gracefully.a. Input -> arguments to function should be the key/value lookup pair to use with theMongoDB driver find API callb. return -> result in JSON format if successful else MongoDB returned error message
End of preview. Want to read all 3 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Summer
Professor
N/A
Tags
Type theory, Roberto Soto

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture