public function max($table, $inc = null)
    {
        return $this->select($table, ['MAX(id)'])[0]['MAX(id)'] + (isset($inc) ? $inc : 0);
    }
public function max($table, $inc = null)
    {
        return $this->select($table, ['MAX(id)'])[0]['MAX(id)'] + (isset($inc) ? $inc : 0);
    }
public function max ( $ table , $ inc = null ) { return $ this -> select ( $ table , [ 'MAX(id)' ] ) [ 0 ] [ 'MAX(id)' ] + ( isset ( $ inc ) ? $ inc : 0 ) ; }
Get Maximum ID of a table

@param $table String
@param $add Int
Get Maximum ID of a table