Returns the query with the supplied scope and operation.
public update ( Pinq\Queries\IScope $scope, Pinq\Queries\IOperation $operation ) : Pinq\Queries\IOperationQuery | ||
$scope | Pinq\Queries\IScope | |
$operation | Pinq\Queries\IOperation | |
return | Pinq\Queries\IOperationQuery |
public function buildQuery() { $scope = $this->scopeProcessor->buildScope(); $operation = $this->operationQuery->getOperation(); return $this->operationQuery->update($this->processScope($scope, $operation), $this->processOperation($scope, $operation)); }