You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?