I was thinking about adding an associative array with a override quote value but it looks like it would require a lot of rewriting of code
I have also added the ability to use WITH RECURSIVE in postgresql I'm not sure if that will be helpful for your code base, and I have certainly not made it complete. I can provide you with the code in the future if you are interested.
case self::IN:
case self::NOT_IN:
if ($usePlaceholders) {
$value = self::BRACKET_OPEN . substr(str_repeat('?, ', count($currentCriterion['value'])), 0, -2) .
self::BRACKET_CLOSE;
$placeholderValues = array_merge($placeholderValues, $currentCriterion['value']);
}
else {
$value = self::BRACKET_OPEN;
foreach ($currentCriterion['value'] as $currentValue) {
// $value .= $this->quote($currentValue) . ", "; <-- HERE
$value .= $currentValue . ", "; <-- TO THIS
}
$value = substr($value, 0, -2);
$value .= self::BRACKET_CLOSE;
}
break;