R

Ravina • 3.96K Points
Extraordinary

Q. How do you mark a model to use soft deletes?

  • (A) Use SoftDeletes trait
  • (B) Use SoftDeleteable class
  • (C) Enable deletes in config
  • (D) Add deleted flag
  • Correct Answer - Option(A)
  • Views: 22
  • Filed under category Laravel
  • Hashtags:

Explanation by: Ravina

You must use the SoftDeletes trait in your model.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.