/**
  * Format the given query into a transactional statement
  *
  * @param Query $statement
  * @return array
  */
 protected function formatStatement(Query $statement)
 {
     return array('statement' => $statement->getQuery(), 'parameters' => (object) $statement->getParameters(), 'resultDataContents' => array('rest'));
 }