This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/src/Sql/Functors/FunctionFunctors/SqlAbsFunctor.php
Marcin Kurczewski cb489d1eca SQL operator refactor
* Added few new operators that were left hardcoded
* Changed "Operator" to "Functor"
* Better hierarchy - less mess
* Serialized SQL queries should contain fewer braces
2014-02-24 21:38:09 +01:00

13 lines
166 B
PHP

<?php
class SqlAbsFunctor extends SqlUnaryFunctor
{
public function getFunctionName()
{
return 'ABS';
}
public function getArgumentCount()
{
return 1;
}
}