How to check if a Database exists in MongoDB
Show older comments
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?
Answers (1)
the cyclist
on 1 Aug 2019
0 votes
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).
Categories
Find more on Database Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!