Skip to content

Praveen2812git/Telephone-Directory-and-problem-solving-in-mongodb-with-python

Repository files navigation

Telephone Directory and problem solving in mongodb with python

Telephone Directory in mongodb with python

A simple telephone directory with CRUD operations using mongodb in python.

Explanation

  • There are four operations in Telephone Directory called CRUD operations. They are Create, Read, Update and Delete

  • CREATE - Creates data with the user given data.

    • Name
    • Phone Number
    • Address
  • READ - Reads the stored data in the Telephone Directory. There are different ways to read.

    • F or f - Reads the full telephone directory.
    • N or n - Reads the telephone directory with only the name user proceeds with.
    • P or n - Reads the telephone directory with only the phone number user proceeds with.
    • A or a - Reads the telephone directory with only the address user proceeds.
  • UPDATE - Selects the data with the phone number and updates the data with the name or address (or) both name and address.

  • DELETE - Deletes the data with the phone number user proceeds with.

Requirements

  • Mongodb database in PC
  • Installation of pymongo library in python
    • pip install pymongo (Run this in terminal to install pymongo module)

Problem Solving in mongodb with python

A problem solving steps to obtain desired output in mongodb

Explanation

  • student.json file is the file which also contains embedded data in it.
  • We use mongodb queries to obtain desired output
  • 7 questions are solved totally.

Requirements

  • Mongodb database in PC
  • Installation of pymongo library in python
    • pip install pymongo (Run this in terminal to install pymongo module)

About

A telephone directory with CRUD operations and problem solving with mongoDB in python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published