protected function appendOptionalProjection($string, Requests\ProjectionRequestBase $request) { $this->compilation->append($string); if ($request->hasProjectionFunction()) { $this->compilation->append(' according to the function: '); $this->compilation->appendFunction($request->getProjectionFunction()); } }
public function visitJoin(Segments\Join $query) { $this->compilation->append('Join with: '); $this->compilation->appendJoinOptions($query->getOptions()); $this->compilation->append(' and correlate the values according to: '); $this->compilation->appendFunction($query->getJoiningFunction()); $this->compilation->appendLine(); }
public function visitRemoveWhere(Operations\RemoveWhere $operation) { $this->compilation->append('Remove the elements according to: '); $this->compilation->appendFunction($operation->getPredicateFunction()); }