diff --git a/src/Alias/Database/Query/Insert.php b/src/Alias/Database/Query/Insert.php index 4f633eb..3d9d570 100644 --- a/src/Alias/Database/Query/Insert.php +++ b/src/Alias/Database/Query/Insert.php @@ -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;