public function queryRow($params = array())
    {
        $this->mergeParams($params);
        $this->beginQuery();
        $rst = $this->statement->fetch(\PDO::FETCH_ASSOC);
        $this->statement->closeCursor();
        return $rst;
    }
public function queryRow($params = array())
    {
        $this->mergeParams($params);
        $this->beginQuery();
        $rst = $this->statement->fetch(\PDO::FETCH_ASSOC);
        $this->statement->closeCursor();
        return $rst;
    }
public function queryRow ( $ params = array ( ) ) { $ this -> mergeParams ( $ params ) ; $ this -> beginQuery ( ) ; $ rst = $ this -> statement -> fetch ( \ PDO :: FETCH_ASSOC ) ; $ this -> statement -> closeCursor ( ) ; return $ rst ; }
Get first row of result

@param array $params
@return array
Get first row of result