Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
odyright opened this issue Sep 17, 2022 · 0 comments

Comments

@odyright
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant