How can I get all the data of a specific column if input field is empty. As I am getting correct result in MySQL query with this
WHERE table.name= IF(:name = \'