Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
Description
The ensureID function will add an _id field to a document being inserted. In the case of inserting an _id the library will return an objectid.ObjectID, while a user found _id will return a *bson.Element. We should always return a *bson.Element. We should always return a *bson.Value.
Attachments
Issue Links
- duplicates
-
GODRIVER-660 _id should be prepended, not appended
-
- Closed
-