Effacer les filtres
Effacer les filtres

Connect to mongoDB with replica set?

1 vue (au cours des 30 derniers jours)
Pontus Thomsson
Pontus Thomsson le 7 Fév 2022
Modifié(e) : Vaibhav le 6 Oct 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?

Réponses (1)

Vaibhav
Vaibhav le 6 Oct 2023
Modifié(e) : Vaibhav le 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

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by