变更
This commit is contained in:
@@ -777,6 +777,17 @@ trait QueryTrait
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param Closure $closure
|
||||
* @return $this
|
||||
*/
|
||||
public function whereClosure(Closure $closure): static
|
||||
{
|
||||
$this->where[] = $this->makeClosureFunction($closure);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param Closure|array $closure
|
||||
* @return string
|
||||
|
||||
Reference in New Issue
Block a user