I'm trying to read data from one collection to another and need the object _ids to propagate. I can't get my find queries to return _ids. I looked at #8 to do this by setting {_id: 1} in the projection but it does not return the _id as well. Any ideas?
I'm trying to read data from one collection to another and need the object _ids to propagate. I can't get my find queries to return _ids. I looked at #8 to do this by setting {_id: 1} in the projection but it does not return the _id as well. Any ideas?