变更
This commit is contained in:
@@ -639,7 +639,7 @@ trait QueryTrait
|
|||||||
$value = [-1];
|
$value = [-1];
|
||||||
}
|
}
|
||||||
$this->bindParam(':in' . $columns, implode(',', $value));
|
$this->bindParam(':in' . $columns, implode(',', $value));
|
||||||
$this->where[] = $columns . ' IN :in' . $columns;
|
$this->where[] = $columns . ' IN (:in' . $columns . ')';
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -681,7 +681,7 @@ trait QueryTrait
|
|||||||
$value = [-1];
|
$value = [-1];
|
||||||
}
|
}
|
||||||
$this->bindParam(':notin' . $columns, implode(',', $value));
|
$this->bindParam(':notin' . $columns, implode(',', $value));
|
||||||
$this->where[] = $columns . ' NOT IN :notin' . $columns;
|
$this->where[] = $columns . ' NOT IN (:notin' . $columns . ')';
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user