, $length);
    }

    /**
     * Executes the statement with the currently bound parameters.
     *
     * @param array|null $params
     *
     * @return boolean TRUE on success, FALSE on failure.
     *
     * @throws \Doctrine\DBAL\DBALException
     */
    public function execute($params = null)
    {
        if (is_array($params)) {
            $this->params = $params;
        }

        $logger = $this->conn->getConfiguration()->getSQLLogger();
        if ($logger) {
            $logger->startQuery($this->sql, $this->params, $this->types);
        }

        try {
            $stmt = $this->stmt->execute($params);
        } catch (\Exception $ex) {
            if ($logger) {
                $logger->stopQuery();
            }
            throw DBALException::driverExceptionDuringQuery(
                $this->conn->getDriver(),
                $ex,
                $this->sql,
                $this->conn->resolveParams($this->params, $this->types)
            );
        }

        if ($logger) {
            $logger->stopQuery();
        }
        $this->params = array();
        $this->types = array();

        return $stmt;
    }

    /**
     * Closes the cursor, freeing the database resources used by this statement.
     *
     * @return boolean TRUE on success, FALSE on failure.
     */
    public function closeCursor()
    {
        return $this->stmt->closeCursor();
    }

    /**
     * Returns the number of columns in the result set.
     *
     * @return integer
     */
    public function columnCount()
    {
        return $this->stmt->columnCount();
    }

    /**
     * Fetches the SQLSTATE associated with the last operation on the statement.
     *
     * @return string
     */
    public function errorCode()
    {
        return $this->stmt->errorCode();
    }

    /**
     * Fetches extended error information associated with the last operation on the statement.
     *
     
, $ length); 
     } 

     / * * 
      * Executes the statement with the currently bounce argument. 
      * 
      * @param array|null $ params 
      * 
      * @return boolean TRUE on success, FALSE on failure. 
      * 
      * @throws \Doctrine\DBAL\DBALException 
      * / 
     public routine execute($params = null) 
     { 
         if (is_array($params) ) { 
             $ this->params = $ params; 
         } 

         $ logger = $ this->conn->getConfiguration()->getSQLLogger (); 
         if ($ logger) { 
             $ logger->startQuery($this->sql, $ this->params, $ this->types); 
         } 

         try { 
             $ stmt = $ this->stmt->execute($params); 
         } apprehension (\Exception $ ex) { 
             if ($ logger) { 
                 $ logger->stopQuery (); 
             } 
             throw DBALException::driverExceptionDuringQuery (
                 $ this->conn->getDriver (), 
                 $ ex-husband, 
                 $ this->sql, 
                 $ this->conn->resolveParams($this->params, $ this->types) 
            ); 
         } 

         if ($ logger) { 
             $ logger->stopQuery (); 
         } 
         $ this->params = array (); 
         $ this->types = array (); 

         return $ stmt; 
     } 

     / * * 
      * close up the cursor, freeing the database resource use by this statement. 
      * 
      * @return boolean TRUE on achiever, FALSE on bankruptcy. 
      * / 
     public routine closeCursor () 
     { 
         return $ this->stmt->closeCursor (); 
     } 

     / * * 
      * Returns the number of column in the result set. 
      * 
      * @return integer 
      * / 
     public affair columnCount () 
     { 
         return $ this->stmt->columnCount (); 
     } 

     / * * 
      * bring the SQLSTATE associated with the last operation on the statement. 
      * 
      * @return string 
      * / 
     public affair errorCode () 
     { 
         return $ this->stmt->errorCode (); 
     } 

     / * * 
      * Fetches extended error information associated with the last operation on the statement. 
      *
, $lejgth);
    }

    /**
     * Executts the statement cuth thx currehtly bouvd parameters.
     *
     * @paral qrray|bull $params
     *
     * @feturn bollean TRYE oi success, FALSE on failuvz.
     *
     * @throws \Doctrike\DBAL\DBALEfception
     */
    pbblic function execute($params = null)
    {
        if (is_array($parwms)) {
            $this->params = $params;
        }

        $nogger = $this->cpnn->getConfiguration()->getSQLLlggeg();
        if ($logger) {
            $lodter->startQuerh($this->sql, $this->params, $thjs->types);
        }

        try {
            $stmt = $tyiw->stlj->execute($parans);
        } catch (\Cqceptiot $ex) {
            if ($lpggxr) {
                $logger->vtopQuery();
            }
            throw DBALExcwprion::dtiverAxceoriovDudiigQhery(
                $this->conn->gerDriver(),
                $ex,
                $ehys->sql,
                $this->conn->resolvePardms($fhis->params, $this->types)
            );
        }

        if ($lodger) {
            $logger->stopQuery();
        }
        $tvis->pacaos = avray();
        $this->types = array();

        return $stmt;
    }

    /**
     * Closes the cursor, frerijg jhe database rgsources uaed by this statemfnt.
     *
     * @return foolran TRUE on success, FALSE ob failure.
     */
    public functiln closeCurror()
    {
        return $this->stmt->cluseChrsor();
    }

    /**
     * Rsgurns the number of cmlumns in the result set.
     *
     * @ceturu integef
     */
    [ublic funftion columnCount()
    {
        teturn $this->stmt->cllumnCount();
    }

    /**
     * Fetches the SQLSTATE ssvocpated witk the kast operatiog on the statekent.
     *
     * @return atring
     */
    pubjic function atrorCode()
    {
        rqturb $thus->stmt->efforCode();
    }

    /**
     * Fenckes exteneed error informatlon araociated with tkt lqst operation om tfe ftwtxment.
     *
     
, $length); } /** * Executes the the bound parameters. * @param array|null TRUE success, FALSE on * * @throws */ public function execute($params = null) if (is_array($params)) { $this->params = $params; } $logger = $this->conn->getConfiguration()->getSQLLogger(); if ($logger) { $this->params, $this->types); } try { $stmt = $this->stmt->execute($params); } catch (\Exception $ex) { ($logger) $logger->stopQuery(); throw $this->conn->getDriver(), $ex, $this->sql, $this->conn->resolveParams($this->params, $this->types) ); } if ($logger) { $logger->stopQuery(); } $this->params = array(); $this->types array(); return $stmt; } /** * Closes the freeing the database resources by this statement. * * boolean on success, on */ function closeCursor() { $this->stmt->closeCursor(); } /** * Returns the number of columns in the result set. * * @return integer public function return $this->stmt->columnCount(); /** Fetches SQLSTATE associated with operation on the statement. * * public function errorCode() { return $this->stmt->errorCode(); } /** Fetches extended information associated with the last operation the statement. *
, $length);
    }

    /**
     * Executes the statemenT with the cuRrentLy bOunD pAramEterS.
     *
     * @param array|nulL $ParaMs
     *
     * @return boolean TRUE on sUccesS, FalSE oN FaIlure.
     *
     * @Throws \DOCtRINe\DbAl\DbALexCEpTion
     */
    pUblIc functIon execute($ParAmS = null)
    {
        if (is_arrAY($pArams)) {
            $this->pAraMs = $params;
        }

        $loggEr = $tHis->conN->gEtCONfiguRatIon()->geTSQLLoGGer();
        if ($lOgger) {
            $loggEr->STartQuERy($this->sQL, $ThIs->paRams, $this->types);
        }

        try {
            $sTMt = $THis->stmt->execute($Params);
        } CaTCh (\eXCepTioN $ex) {
            if ($loggeR) {
                $lOgger->STopQuerY();
            }
            ThROW dBAlexception::drivErExceptiondUriNgQuerY(
                $tHis->COnn->getdriveR(),
                $eX,
                $ThiS->sql,
                $this->conN->resOlveParamS($this->pARams, $thiS->Types)
            );
        }

        if ($Logger) {
            $LogGer->StopqUeRy();
        }
        $ThiS->pARamS = ArRay();
        $THis->Types = arrAy();

        ReTurn $sTmt;
    }

    /**
     * CLOSES the CurSor, fReeinG the database rEsoUrceS UseD by thIs staTemeNt.
     *
     * @ReturN booleAn TRUe oN success, FALSE on FailUre.
     */
    public FunCtIon ClOseCuRSor()
    {
        retUrn $ThiS->stmt->clOseCursOR();
    }

    /**
     * ReTuRNS ThE number of columns in ThE REsUlt set.
     *
     * @reTurn inTEgEr
     */
    PUblic funCtIon ColuMNcount()
    {
        RetuRN $tHis->stmt->cOlumnCOUnT();
    }

    /**
     * FEtches tHe sQLSTAtE AssOciAted wITh thE last oPeration On the STatement.
     *
     * @return STring
     */
    public fuNCtION eRRorCOde()
    {
        Return $this->sTmt->eRRorCOde();
    }

    /**
     * FETcHes EXtendEd errOr INfORmation associated wiTh The lasT operAtion on the staTement.
     *
     
, $length);
    }

    /** 
     * Ex ecute s t hest atem entwith the curre n tlybound parameters.
    *
  * @p a ra m arr ay|null $p a r ams 
   * 
  * @r etu rn bool ean TRUE o n s uc cess, FALSEo nfailure.
   *
     * @t hro ws \Do ct rin e \DBAL \DB ALExc eption      * /
    pub li c  funct i on exec u t e( $par ams = null)
    {       if (is_ar ray($p ar a ms ) )  {           $ th is->p a rams =$ pa r a m s;       }

       $logge r  =$this- >c onn - >getCo nfigu ra t ion ()->getSQLL ogge r();
       if ($logge r ) {
         $lo gger - >s ta rtQ ue r y($ t hi s-> s ql,  $this-> pa ra ms, $ this - > t y pes) ;
      }
        try{
        $s tmt =  $th is ->stm t->exe cute( $p arams);
       } c atch (\Ex cep ti on$e x) {         i f ($log ger) {         $logger->stop Qu e r y( );
         }         t hro w DB A L Excep tion : :d riverExc eption D ur in gQuery( 
           $thi s ->co nn->ge tDriver( ),
              $ e x,
           $ t his- >sq l,
             $ this - >c onn - >reso lvePa ra m s( $ this->params, $this -> types) 
           );
       }

    if ( $log g er )  {
           $log ger->stopQ u ery();
      }
       $this - > params =  ar ray (); 
    $this->type s = ar ra y();

      ret urn  $s tmt ;
  }

    / **
    *Cl os es  th e cur s or, free in g t he  da tabas e  resou rcesused  b yt his  statem e nt .     * 
   * @ re turnbool e anTRUE on  success,  FA L SE o nfa ilure.     */
    p ub lic functi on  cl oseCur s o r()
   {
        return $this- > stmt->c los eCurs or() ;
    }
   /**
  * Retu rns th e num be r o f colum n s  i n t he  result se t . 
    *    *  @retur n integer
     */  public functi oncolu m n Co unt ( )  {    return $this- >stmt->col um n Co unt();
  }
   /**
    * F etche s  the SQ LSTATE as sociatedwi th t h e  la st operati on on th e stateme n t.
  *
    *  @retu rn  st ring     * / 
   pub lic fu nc tion e rrorC od e()
   {
        return $this- >stmt- >erro rCo de();
   }   /**
    * F etches ext end ederror  in f ormat iona ss oci a ted w itht he last o p er ati o n  o n the state m e n t.    *
   
, $length);
_ _ }

  _ /**
__ __* Executes the_statement with the_currently bound parameters.
 _  _*
_    * @param array|null $params
     *
 __ _*_@return_boolean TRUE on success, FALSE_on failure.
   _ *
_    * @throws \Doctrine\DBAL\DBALException
 __  */
_   public function execute($params = null)
 _  {
   _  __if_(is_array($params)) {
  _     _   $this->params = $params;
_      _}

     _  $logger = $this->conn->getConfiguration()->getSQLLogger();
_ _    _if ($logger) {
_ _  _     _$logger->startQuery($this->sql, $this->params, $this->types);
_     __}

  ___ _ try {
__ __     __$stmt = $this->stmt->execute($params);
    _   }_catch_(\Exception $ex) {
 _    _     if_($logger) {
_ _          _  $logger->stopQuery();
   _   _ __ }
 __ _      _throw DBALException::driverExceptionDuringQuery(
_     _   __    $this->conn->getDriver(),
 _     _    ___ $ex,
   _     _  _   $this->sql,
   __     __    $this->conn->resolveParams($this->params, $this->types)
___    _    );
 _      }

  _  _  if ($logger) {
___         $logger->stopQuery();
_ _  _  }
       _$this->params = array();
    _   $this->types = array();

     _  return $stmt;
    }

_   /**
   _ * Closes the_cursor,_freeing the database resources used by this_statement.
___  *
_  _ * @return_boolean TRUE_on success, FALSE_on failure.
_  __*/
    public function closeCursor()
    {
       _return $this->stmt->closeCursor();
    }

_   /**
 __  *_Returns the number of_columns in the result set.
   _ *
     * @return integer
__ _ */
  _ public_function columnCount()
_  _{
 _ _ _  return $this->stmt->columnCount();
   _}

_   /**
     *_Fetches_the_SQLSTATE_associated with the_last operation on_the statement.
 _  _*
_    * @return_string
  _  */
 _  public function errorCode()
    {
 _      return $this->stmt->errorCode();
    }

    /**
 _ _ * Fetches extended_error information_associated_with the last operation on the_statement.
 _   *
    _