2 Commits

Author SHA1 Message Date
e7ab3fb8b7 FIX: ? placeholder was quoted 2022-09-09 15:42:07 -04:00
d4fecf977d Don't quote ? placeholder 2022-09-09 15:37:50 -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;