Ejemplo n.º 1
0
 public function getMysql()
 {
     $mysql = $this->expression->getMysql();
     return "({$this->operator} {$mysql})";
 }
Ejemplo n.º 2
0
 public function __construct(AbstractExpression $mysql)
 {
     $this->mysql = "MIN({$mysql->getMysql()})";
 }
Ejemplo n.º 3
0
 public function getMysql()
 {
     $leftMysql = $this->left->getMysql();
     $rightMysql = $this->right->getMysql();
     return "({$leftMysql} {$this->operator} {$rightMysql})";
 }