예제 #1
0
 public function assembleCaseExpression(CaseExpression $expr)
 {
     return 'CASE WHEN(' . $this->assembleSegment($expr->getExpression()) . ')' . ' THEN ' . $this->assembleSegment($expr->getTrueValue()) . ' ELSE ' . $this->assembleSegment($expr->getFalseValue()) . ' END';
 }