Beispiel #1
0
 public function visitIsset(O\IssetExpression $expression)
 {
     $this->walkAll($expression->getValues());
     $this->analysis[$expression] = $this->typeSystem->getNativeType(INativeType::TYPE_BOOL);
 }
 protected function visitIsset(O\IssetExpression $expression)
 {
     $binaryOperations = [];
     foreach ($expression->getValues() as $value) {
         $binaryOperations[] = $this->compileInContext($value) . ' IS NOT NULL';
     }
     $this->sql .= '(' . implode(' AND ', $binaryOperations) . ')';
 }