* Added few new operators that were left hardcoded * Changed "Operator" to "Functor" * Better hierarchy - less mess * Serialized SQL queries should contain fewer braces
13 lines
166 B
PHP
13 lines
166 B
PHP
<?php
|
|
class SqlAbsFunctor extends SqlUnaryFunctor
|
|
{
|
|
public function getFunctionName()
|
|
{
|
|
return 'ABS';
|
|
}
|
|
|
|
public function getArgumentCount()
|
|
{
|
|
return 1;
|
|
}
|
|
}
|