Closed stevevance closed 7 years ago
abstract class StatementContainer
protected function getPlaceholders()
{
$placeholders = $this->placeholders;
// reset($this->placeholders); change to
$this->placeholders = array();
return '( '.implode(' , ', $placeholders).' )';
}
Thanks @tonylevid - that change worked for me!
PR #75 merged. Patch release coming soon. 😉
I have two
whereIn
statements, and the second one causes the entire SELECT statement to fail.My code:
print_r
on$select
outputs:Notice that
property_class_15
has two?
yet it only has 1 corresponding value in thevalues
array (2-11
). If theproperty_class_15
has 2 corresponding values, then there will be three?
.Why is the second
whereIn
statement increasing the number of placeholders by 1?