Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Lock] Update the MongoDbStore to work with the latest version of the mongodb extension #36702

Closed
@jakzal

Description

@jakzal

The MongoDbStore is not compatible with the latest versions of mongodb extension. The latest mongodb extension uses a new way of creating the client.

Instead of MongoDB\Client we now have MongoDB\Driver\Manager.

Some options to consider:

  1. Make the store work for both interfaces.
  2. Migrate the store to the new interface.
  3. Create a new MongoDbStore implementation for the latest version of the interface.
  4. Use an adapter: https://github.com/alcaeus/mongo-php-adapter.
  5. Drop mongodbstore.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions