0
I have the Entities that I did in Doctrine, and I also have the DAOS, which is where the.
I have an API where the user may or may not use Query Parameters as follows:
The query returns everything but if user put this parameter ai "age=19", will return only users who are age = 19, for me it would be easy to play this in a WHERE, but it would be very laborious, especially if the is passed many parameters.
Is there any other way to do this using Doctrine ?
I tried using Filters but I found the documentation a little confusing someone can help me ?