Don't quote ? placeholder
This commit is contained in:
@ -65,7 +65,7 @@ abstract class Insert extends Query implements InsertInterface
|
|||||||
}
|
}
|
||||||
public function addValue(int|string $value): InsertInterface
|
public function addValue(int|string $value): InsertInterface
|
||||||
{
|
{
|
||||||
if (!is_numeric($value)) {
|
if (!is_numeric($value) and $value !== '?') {
|
||||||
$value = "'{$value}'";
|
$value = "'{$value}'";
|
||||||
}
|
}
|
||||||
$this->values []= $value;
|
$this->values []= $value;
|
||||||
|
Reference in New Issue
Block a user