πŸ“Š Django
Q. Which method on a model saves the object to the database?
  • (A) insert()
  • (B) commit()
  • (C) save()
  • (D) create()
πŸ’¬ Discuss
βœ… Correct Answer: (C) save()

Explanation: The save() method is used to insert or update model instances in the database.

Explanation by: Rakesh Yadav
The save() method is used to insert or update model instances in the database.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
59
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Rakesh Yadav
Publisher
πŸ“ˆ
86%
Success Rate