-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: CRUD
-
None
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.
- duplicates
-
GODRIVER-660 _id should be prepended, not appended
- Closed