Skip to content

Commit

Permalink
Remove ABS
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladislav Gallay committed Oct 20, 2014
1 parent e93f61d commit 61782bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Dialect/PostgresDialectTrait.php
Expand Up @@ -101,7 +101,7 @@ protected function _transformFunctionExpression(FunctionExpression $expression)
break;
case 'DATEDIFF':
$expression
->name('ABS')
->name('')
->type('-')
->iterateParts(function ($p) {
if( is_string($p) ) {
Expand Down

0 comments on commit 61782bc

Please sign in to comment.