Mongo DB : show collections through API?

Hi Retool folks,

First off, the Mongo DB API and query handling works great. It’s clean, fast and quite self-explanatory… but i’m missing a way to get the collections of a given DB, i.e. the equivalent to db.showCollections()

I understand that this doesn’t quite work with the current implementation as the operations require a collection to be selected, but what if i don’t know or simply want to browse my collections? How would I do that?

The only way to go around is to e.g. to brute-force write an array myself where I list all collections in the DB.

Thanks in advance,


1 Like

This is a very reasonable feature request, and something that we already offer for Firebase. Good catch @zimmerst85!