alcaeus / mongo-php-adapter

:link: Adapter to provide ext-mongo interface on top of mongo-php-library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Whether the latest version of Ext-mongodb is supported

shanghaiyangming opened this issue · comments

commented

Whether the latest version of Ext-mongodb is supported

commented

image

commented

I have installed the latest version of the driver, and found that it can also be successfully upgraded through Composer, but what is the availability of specific features?  In config in Composer, ext-mognodb is ^1.2.0

commented

Or can I use the latest driver and continue to use the old script as long as I don't use the new features of the new mongodb version?

commented

Sorry, wrong understanding, no problem excuse me

This library provides the functionality of the legacy driver, built on top of the current driver. This was done to bring PHP 7 compatibility to ODM 1.x. As the feature set to support is defined by the legacy driver which is no longer supported. ODM 1.x will (mostly) work with MongoDB 5.0, but you most likely won't be able to make use of all features if you use ODM 1.x.