You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new methods will return a MongoCursor as defined in the Java driver. The deprecated methods will have notations use find()/keys() as appropriate. There is a fair bit of ambiguity as to which method (fetch() vs asList()) to call. This change removes the ambiguity as there is only one method to call. This change also serves to simplify the API through the use of the driver options that can be passed in to the find() and keys() methods. This should reduce API fatigue/confusion for users and simplify maintenance in the long run.
The text was updated successfully, but these errors were encountered:
Deprecate:
Add:
The new methods will return a
MongoCursor
as defined in the Java driver. The deprecated methods will have notations use find()/keys() as appropriate. There is a fair bit of ambiguity as to which method (fetch()
vsasList()
) to call. This change removes the ambiguity as there is only one method to call. This change also serves to simplify the API through the use of the driver options that can be passed in to thefind()
andkeys()
methods. This should reduce API fatigue/confusion for users and simplify maintenance in the long run.The text was updated successfully, but these errors were encountered: