src/Grammars/CompilesGroupLimit.php
/**
     * Compile a row number clause.
     *
     * @param  string  $partition
     * @param  string  $orders
     * @return string
     */
Compile a row number clause.
Compile a row number clause .
protected function compileRowNumber($partition, $orders)
    {
        $partition = 'partition by '.$this->wrap($partition);
        $over = trim($partition.' '.$orders);
        return ', row_number() over ('.$over.') as laravel_row';
    }
protected function compileRowNumber ( $ partition , $ orders ) { $ partition = 'partition by ' . $ this -> wrap ( $ partition ) ; $ over = trim ( $ partition . ' ' . $ orders ) ; return ', row_number() over (' . $ over . ') as laravel_row' ; }
Compile a row number clause.
Compile a row number clause .