Skip to content

Update MongoDB Driver : [FireDAC][Phys][Mongo]Unsupported OP_QUERY command #3

@odyright

Description

@odyright

Can you update it pls; Looking at the docs, it seems that OP_QUERY has been deprecated in 5.0: MongoDB 5.0 deprecates both OP_QUERY find operations and OP_QUERY command.
legacy-opcodes-removed
[FireDAC][Phys][Mongo]Unsupported OP_QUERY command

complete error message:

Exception class EMongoNativeException with message '[FireDAC][Phys][Mongo]Unsupported OP_QUERY command: ping. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal'. Process Mongo_Restaurants.exe (18820)

Steps:

  • open project: "\Embarcadero\Studio\22.0\Samples\Object Pascal\Database\FireDAC\Samples\DBMS Specific\MongoDB\Restaurants"
  • Launch the app or Test the FDConnection with database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions