2 months ago

some thing like Soft delete in model for returning only active models

Posted 2 months ago by Mrs_Beginner

i Have product model (Belongs to products table),

and i want to tell model when i select any product you have to return the models that their Active column is True, like soft delete that just return the models that not soft deleted.

is there any way?

Please sign in or create an account to participate in this conversation.