public function getPager($sql, $page, $num = 0, $params = array())
    {
        $ret   = $this->getLimit($sql, $page, $num + 1, $params, true);
        $count = count($ret);
        $count > $num && array_pop($ret);

        return array(
            'rs'   => $ret,
            'next' => $count > $num ? true : false,
        );
    }