Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
None
Description
Because `collection.FindOne()` allows the user to specify FindOptions, it's possible that a user could specify a limit other than 1. To ensure that the command has the correct semantics, we should change ops.Find to use an insertion-ordered map once it's implemented instead of a bson.D and ensure that the last option in the list has precedence.