appendFunction() public method

public appendFunction ( Pinq\Queries\Functions\IFunction $function )
$function Pinq\Queries\Functions\IFunction
Exemplo n.º 1
0
 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());
     }
 }
Exemplo n.º 2
0
 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();
 }
Exemplo n.º 3
0
 public function visitRemoveWhere(Operations\RemoveWhere $operation)
 {
     $this->compilation->append('Remove the elements according to: ');
     $this->compilation->appendFunction($operation->getPredicateFunction());
 }