public function run(Query $query)
    {
        return $this->getDisconnectRetry()->run(function () use ($query) {
            $statement = $this->prepare($query);
            $query->getValueBinder()->attachTo($statement);
            $statement->execute();

            return $statement;
        });
    }
public function run(Query $query)
    {
        return $this->getDisconnectRetry()->run(function () use ($query) {
            $statement = $this->prepare($query);
            $query->getValueBinder()->attachTo($statement);
            $statement->execute();

            return $statement;
        });
    }
public function run ( Query $ query ) { return $ this -> getDisconnectRetry ( ) -> run ( function ( ) use ( $ query ) { $ statement = $ this -> prepare ( $ query ) ; $ query -> getValueBinder ( ) -> attachTo ( $ statement ) ; $ statement -> execute ( ) ; return $ statement ; } ) ; }
Executes the provided query after compiling it for the specific driver
dialect and returns the executed Statement object.

@param \Cake\Database\Query $query The query to be executed
@return \Cake\Database\StatementInterface executed statement
Executes the provided query after compiling it for the specific driver dialect and returns the executed Statement object .