src/Database/Models/AbstractDynamicModel.php
/**
     * Get a new query builder that doesn't have any global scopes.
     *
     * @return \Illuminate\Database\Eloquent\Builder|static
     */
Get a new query builder that doesn't have any global scopes.
@return \Illuminate\Database\Eloquent\Builder|static
Get a new query builder that doesn ' t have any global scopes . @return \ Illuminate \ Database \ Eloquent \ Builder|static
public function newQueryWithoutScopes()
    {
        $builder = $this->newEloquentBuilder(
            $this->newBaseQueryBuilder()
        );
        $builder->setModel($this)->with($this->with);
        $builder->table = $this->getTable();
        return $builder;
    }
public function newQueryWithoutScopes ( ) { $ builder = $ this -> newEloquentBuilder ( $ this -> newBaseQueryBuilder ( ) ) ; $ builder -> setModel ( $ this ) -> with ( $ this -> with ) ; $ builder -> table = $ this -> getTable ( ) ; return $ builder ; }
Get a new query builder that doesn't have any global scopes.
Get a new query builder that doesn ' t have any global scopes .
// Once we have the query builders, we will set the model instances so the // builder can easily access any information it may need from the model // while it is constructing and executing various queries against it.