How to check if a Database exists in MongoDB

3 Ansichten (letzte 30 Tage)
a39cc5cb70841
a39cc5cb70841 am 1 Aug. 2019
Beantwortet: the cyclist am 1 Aug. 2019
I'm using the Database-Toolbox with the Default-Addon-Driver for my MongoDB connection.
Is there a way to list all available server databases or find if an specific database exists?

Antworten (1)

the cyclist
the cyclist am 1 Aug. 2019
I don't have any experience with MongoDB, but my guess is that this is not so much a MATLAB Database Toolbox question as it is a question about the database implementation itself. For example, in Postgres, there is an information schema where information such as this is stored (and can be queried).

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by