We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0389c commit 29edbd4Copy full SHA for 29edbd4
driver-legacy/src/main/com/mongodb/DBCursor.java
@@ -517,8 +517,10 @@ public DBCursor snapshot() {
517
*
518
* @return a {@code DBObject} containing the explain output for this DBCursor's query
519
* @throws MongoException if the operation failed
520
- * @mongodb.driver.manual reference/explain Explain Output
+ * @mongodb.driver.manual reference/command/explain Explain Output
521
+ * @deprecated Replace with direct use of the explain command using the runCommand helper method
522
*/
523
+ @Deprecated
524
public DBObject explain() {
525
return toDBObject(executor.execute(getQueryOperation(collection.getObjectCodec())
526
.asExplainableOperation(ExplainVerbosity.QUERY_PLANNER),
0 commit comments