ajout des conditions where in et where between
This commit is contained in:
@@ -15,10 +15,13 @@ class Query
|
||||
|
||||
public function addData($value)
|
||||
{
|
||||
$this->data[] = $value;
|
||||
if (is_array($value)) {
|
||||
$this->data = array_merge($this->data, $value);
|
||||
} else {
|
||||
$this->data[] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function getQuery(): string
|
||||
{
|
||||
return $this->query;
|
||||
|
||||
Reference in New Issue
Block a user