Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

How can I use a pointer in Python for updating the database?

Asked by Chloe Burgess Jan 8, 2024 851 views 1 answer
Share

About this question

There is a scenario in which I am working on a project that includes database management of records of employees. In the database, I have a list of dictionaries and each dictionary contains about name, age, and department of the employee. How can I create such a function that can update the department of a particular employee based on his name by using a pointer in Python? 

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.