-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: 3.2.1
-
Component/s: Aggregation Framework
-
Query
this feature allows lookup using _id.str
company: {_id: { $oid: "..."}, countryId: "566eb3c704c7b31facbb0007"} country: { _id: { $oid: "566eb3c704c7b31facbb0007", name:"..."} { $lookup: { from: "country", localField: "countryId", <= it's a string field foreignField: "_id.str", <= using string representation of id as: "country" }}
- is duplicated by
-
SERVER-33171 Add number and objectID parsing conversions to $convert
- Closed
- related to
-
SERVER-24947 Need a type conversion mechanism for booleans, ISODates, ObjectID
- Closed