Connect to mongoDB with replica set?

1 次查看(过去 30 天)
Hello!
I am trying to connect to our mongoDB which and I need to connect to it using a replica set. However I can not find anything in Matlab documentation about this? Does Matlab support connecting to a mongoDB with replica set?

回答(1 个)

Vaibhav
Vaibhav 2023-10-6
编辑:Vaibhav 2023-10-6
Hi Pontus
I understand that you would like to connect to MongoDB.
Support for MongoDB has been available in MATLAB from R2017b to R2022a through the Database Toolbox Interface for MongoDB support package, accessible on File Exchange:
Starting from R2021b, Database Toolbox offers direct support for MongoDB through the MongoDB C++ Interface Document Database. However, please note that the support package has been discontinued from R2022b onwards. Detailed information on MongoDB C++ interface connection is available here:
In MATLAB R2023b, Database Toolbox incorporates version 1.23.0 of the MongoDB C driver.
For additional details on the release notes for Database toolbox refer to:
For more information about the supported server:
For guidance on creating a MongoDB C++ Interface connection, you can refer to the documentation:
Hope this helps!
Regards,
Vaibhav

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by