Does an auto delete functionality is available to delete row(s) from a specific table when a condition is met?
Note: I'm using Symfony 3.3
Else if such a method doesn't exist,is there a dql alternative even for a static method(it doesn't have to be automatic,what i mean is a button click would trigger the action in the controller)?? Example: I have an entity named Deal and i want to auto delete any instance of 'Deal' in my Database that has passed the delay which is expressed in variable number of days.