Closed
Description
Hello.
I tried migrate from MongoClient to MongoDB and that was quite hard. Issues I'll found:
- MongoDB\Collection has no method to set read preference, we cant use constructor instead because of our private factory. Old MongoClient had setReadPreference, can you return it?
- MongoDB\Collection has no "limit" method like old MongoClient does, can you return it?
- findOne(['_id' => $id]) call returns item without "_id" property, it is empty (null). Can you fix it?
Metadata
Metadata
Assignees
Labels
No labels