<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.mongodb-driver-exception-commandexception.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'mongodb-driver-commandexception.getresultdocument.php',
    1 => 'MongoDB\\Driver\\Exception\\CommandException::getResultDocument',
    2 => 'Returns the result document for the failed command',
  ),
  'up' => 
  array (
    0 => 'class.mongodb-driver-exception-commandexception.php',
    1 => 'MongoDB\\Driver\\Exception\\CommandException',
  ),
  'prev' => 
  array (
    0 => 'class.mongodb-driver-exception-commandexception.php',
    1 => 'MongoDB\\Driver\\Exception\\CommandException',
  ),
  'next' => 
  array (
    0 => 'class.mongodb-driver-exception-connectionexception.php',
    1 => 'MongoDB\\Driver\\Exception\\ConnectionException',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mongodb/mongodb/driver/exception/commandexception/getresultdocument.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mongodb-driver-commandexception.getresultdocument" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">MongoDB\Driver\Exception\CommandException::getResultDocument</h1>
  <p class="verinfo">(mongodb &gt;= 1.5.0)</p><p class="refpurpose"><span class="refname">MongoDB\Driver\Exception\CommandException::getResultDocument</span> &mdash; <span class="dc-title">Returns the result document for the failed command</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mongodb-driver-commandexception.getresultdocument-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="methodname"><strong>MongoDB\Driver\Exception\CommandException::getResultDocument</strong></span>(): <span class="type"><a href="language.types.object.php" class="type object">object</a></span></div>

  <p class="simpara">
   Returns the result document for the failed command.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-mongodb-driver-commandexception.getresultdocument-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">This function has no parameters.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-mongodb-driver-commandexception.getresultdocument-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="simpara">
   The result document for the failed command.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-mongodb-driver-commandexception.getresultdocument-seealso">
  <h3 class="title">See Also</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="mongodb-driver-manager.executecommand.php" class="function" rel="rdfs-seeAlso">MongoDB\Driver\Manager::executeCommand()</a> - Execute a database command</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>