2
My problem is that I won’t always receive the variables, so I need a way that doesn’t make them mandatory even if I declare them, for example in the query below:
"SELECT * FROM clientes WHERE clientes.nome = :nome";
Var :nome
is mandatory;
then I need that even if the variable :nome
does not contain a value, the query returns all clients