Fixes of previous commit...
This commit is contained in:
parent
cb489d1eca
commit
c29a002c06
4 changed files with 9 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
class SqlLikeFunctor extends SqlBinaryFunctor
|
class SqlLikeFunctor extends SqlBinaryOperatorFunctor
|
||||||
{
|
{
|
||||||
protected function getOperator()
|
protected function getOperator()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
class SqlAbsFunctor extends SqlUnaryFunctor
|
class SqlAbsFunctor extends SqlFunctionFunctor
|
||||||
{
|
{
|
||||||
public function getFunctionName()
|
public function getFunctionName()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
class SqlExistsFunctor extends SqlUnaryFunctor
|
class SqlExistsFunctor extends SqlFunctionFunctor
|
||||||
{
|
{
|
||||||
public function getFunctionName()
|
public function getFunctionName()
|
||||||
{
|
{
|
||||||
|
@ -10,4 +10,9 @@ class SqlExistsFunctor extends SqlUnaryFunctor
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getAsString()
|
||||||
|
{
|
||||||
|
return $this->getFunctionName() . ' (' . $this->subjects[0]->getAsString() . ')';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
class SqlMaxFunctor extends SqlUnaryFunctor
|
class SqlMaxFunctor extends SqlFunctionFunctor
|
||||||
{
|
{
|
||||||
public function getFunctionName()
|
public function getFunctionName()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue