Connect to mongoDB with replica set?

1 visualizzazione (ultimi 30 giorni)
Pontus Thomsson
Pontus Thomsson il 7 Feb 2022
Modificato: Vaibhav il 6 Ott 2023
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?

Risposte (1)

Vaibhav
Vaibhav il 6 Ott 2023
Modificato: Vaibhav il 6 Ott 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

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by