[JAVA-3243] Deprecate DBCursor.explain Created: 22/Mar/19  Updated: 28/Oct/23  Resolved: 22/Oct/19

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 3.12.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: John Stewart (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Deprecate DBCursor.explain, as it's not part of our CRUD API, and it's confusing that it exists un-deprecated in the legacy API.

Additionally, note in the Javadoc also that in 4.x this method will only support MongoDB 3.2 and up (where the explain command is supported).



 Comments   
Comment by Githook User [ 22/Oct/19 ]

Author:

{'username': 'jstewart-mongo', 'email': 'john.stewart@mongodb.com', 'name': 'John Stewart'}

Message: Deprecate DBCursor.explain

JAVA-3243
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/29edbd42c9acce4e197e764c481b58808bb45f73

Generated at Thu Feb 08 08:59:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.