src/DataBaseAR.php
protected function isOk(\PDOStatement $query){
        $error= $query->errorInfo();
        if($error[0] == '00000'){
            return TRUE;
        }else{
            $this->catchError($error);
            return FALSE;
        }
    }
protected function isOk(\PDOStatement $query){
        $error= $query->errorInfo();
        if($error[0] == '00000'){
            return TRUE;
        }else{
            $this->catchError($error);
            return FALSE;
        }
    }
protected function isOk ( \ PDOStatement $ query ) { $ error = $ query -> errorInfo ( ) ; if ( $ error [ 0 ] == '00000' ) { return TRUE ; } else { $ this -> catchError ( $ error ) ; return FALSE ; } }
Retorna si la consulta se realizao con exito, si no ocurrio ningun error.
@param \PDOStatement $query
@return boolean
Retorna si la consulta se realizao con exito si no ocurrio ningun error .