Compare commits
4 Commits
d4fecf977d
...
1.0.3
Author | SHA1 | Date | |
---|---|---|---|
a22a927bb4 | |||
2fd0af5c2f | |||
0f4438bd5f | |||
9eef089b85 |
@ -65,7 +65,7 @@ abstract class Insert extends Query implements InsertInterface
|
||||
}
|
||||
public function addValue(int|string $value): InsertInterface
|
||||
{
|
||||
if (!is_numeric($value) and $value !== '?') {
|
||||
if (!is_numeric($value)) {
|
||||
$value = "'{$value}'";
|
||||
}
|
||||
$this->values []= $value;
|
||||
|
Reference in New Issue
Block a user