eZ\Publish\Core\Persistence\Database\Expression::sub PHP Method

sub() public method

subtract() accepts an arbitrary number of parameters. Each parameter must contain a value or an expression or an array with values or expressions. Example: $q = $dbHandler->createSelectQuery(); $q->select( '*' )->from( 'table' ) ->where( $q->expr->subtract( 'id', 2 ) );
public sub ( ) : string
return string an expression
    public function sub();