auraphp/Aura.Sql

Invalid parameter count

php- opened this issue · 2 comments

php- commented

Hello

for the example query
SELECT * FROM users WHERE username = :user_name OR email = :user_name
and setting

$select->bindValue('user_name', $username);

Gives SQL wrong parameter number error. Problem is using one placeholder twice, I think this should not be a problem and it works for normal PDO statements

php- commented

Alright, thanks!