RADStudio11Demos icon indicating copy to clipboard operation
RADStudio11Demos copied to clipboard

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

Open odyright opened this issue 3 years ago • 0 comments

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.

odyright avatar Sep 17 '22 19:09 odyright