public function selectCallback($ret)
    {
        if ($ret instanceof ErrorMessage) {
            return $ret;
        }

        $result = array();
        foreach ($ret as $row) {
            $result[] = array_combine($this->fields, $row);
        }
        return $result;
    }