function fetchObject($className = '\\stdClass', $params = array())
    {
        if ($className) {
            if ($params) {
                return mysqli_fetch_object($this->result, $className, $params);
            } else {
                return mysqli_fetch_object($this->result, $className);
            }
        } else {
            return mysqli_fetch_object($this->result);
        }
    }