Update '->where' method with binding params don't working
Opened this issue · 2 comments
FAST-JE commented
bigSiebs commented
Did you install via composer? I ran into this same issue because I installed via composer with the prefer-stable
option set to true
. I was reading the documentation for the 3.x
branch, but unknowingly using the 2.x
branch that composer installed. Running composer require aura/sqlquery 3.x-dev
fixed the issue for me.
jimbo8098 commented
I'd use the following:
->where('id = :id')
->bindValue('id',2);
I'm not 100% sure that format works.