πŸ“Š Django
Q. Which method is used to save changes to a model instance?
  • (A) commit()
  • (B) save()
  • (C) store()
  • (D) update()
πŸ’¬ Discuss
βœ… Correct Answer: (B) save()

Explanation: The save method is used to write or update model instance data to the database.

Explanation by: Mr. Dubey
The save method is used to write or update model instance data to the database.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
68
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate