FIX: ? placeholder was quoted

This commit is contained in:
Juan Pablo Vial
2022-09-09 15:42:07 -04:00

View File

@ -65,7 +65,7 @@ abstract class Insert extends Query implements InsertInterface
}
public function addValue(int|string $value): InsertInterface
{
if (!is_numeric($value)) {
if (!is_numeric($value) and $value !== '?') {
$value = "'{$value}'";
}
$this->values []= $value;