Builder::__construct()

void __construct(Builder $query) Create a new Eloquent query builder instance. Parameters Builder $query Return Value void

Builder::__construct()

void __construct(Connection $connection) Create a new database Schema manager. Parameters Connection $connection Return Value void

Builder::__call()

mixed __call(string $method, array $parameters) Dynamically handle calls into the query instance. Parameters string $method array $parameters Return Value mixed

Builder::withoutGlobalScopes()

$this withoutGlobalScopes(array $scopes = null) Remove all or passed registered global scopes. Parameters array $scopes Return Value $this

Builder::__call()

mixed __call(string $method, array $parameters) Handle dynamic method calls into the method. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

Builder::__callStatic()

static mixed __callStatic(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

Builder::withGlobalScope()

$this withGlobalScope(string $identifier, Scope|Closure $scope) Register a new global scope. Parameters string $identifier Scope|Closure $scope Return Value $this

Builder::without()

$this without(mixed $relations) Prevent the specified relations from being eager loaded. Parameters mixed $relations Return Value $this

Builder::withCount()

$this withCount(mixed $relations) Add subselect queries to count the relations. Parameters mixed $relations Return Value $this

Builder::withoutGlobalScope()

$this withoutGlobalScope(Scope|string $scope) Remove a registered global scope. Parameters Scope|string $scope Return Value $this