public function prepare($statement) {
        $this->connect();

        $this->statement = new Statement($statement, $this->getParams(), $this->routings);
        $this->statement->setFetchMode($this->defaultFetchMode);

        return $this->statement;
    }
public function prepare($statement) {
        $this->connect();

        $this->statement = new Statement($statement, $this->getParams(), $this->routings);
        $this->statement->setFetchMode($this->defaultFetchMode);

        return $this->statement;
    }
public function prepare ( $ statement ) { $ this -> connect ( ) ; $ this -> statement = new Statement ( $ statement , $ this -> getParams ( ) , $ this -> routings ) ; $ this -> statement -> setFetchMode ( $ this -> defaultFetchMode ) ; return $ this -> statement ; }
prepares the statement execution

@param  string $statement
@return Statement
prepares the statement execution