- Fixed a bug within notIn() statement
This commit is contained in:
parent
88e9f048db
commit
31f031715d
|
@ -452,7 +452,7 @@ class Repository
|
||||||
|
|
||||||
public function delete(...$args) : self
|
public function delete(...$args) : self
|
||||||
{
|
{
|
||||||
$this->queryBuilder->delete($this->alias);
|
$this->queryBuilder->delete();
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,7 +111,7 @@ trait ConditionTrait
|
||||||
|
|
||||||
public function notIn(string|\Stringable $field, $value) : self
|
public function notIn(string|\Stringable $field, $value) : self
|
||||||
{
|
{
|
||||||
$this->queryBuilder->where($field, $value, Query\Where::COMPARISON_IN, true);
|
$this->queryBuilder->where($field, $value, Query\Where::COMPARISON_IN, Query\Where::CONDITION_AND, true);
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue