Q. Which model method deletes an object from the database?

  • (A) remove()
  • (B) delete()
  • (C) destroy()
  • (D) erase()
πŸ’¬ Discuss
βœ… Correct Answer: (B) delete()
Explanation: delete() removes the object from the database.
Explanation by: Rakesh Yadav
delete() removes the object from the database.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
79
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Yadav
Publisher
πŸ“ˆ
83%
Success Rate