Connect to mongoDB with replica set?
1 view (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Vaibhav
on 6 Oct 2023
Edited: Vaibhav
on 6 Oct 2023
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
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!