Get all data of a column incase of empty variable

后端 未结 0 1723
既然无缘
既然无缘 2020-12-07 17:24

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 = \'

相关标签:
回答
  • 消灭零回复
提交回复
热议问题