AnsweredAssumed Answered

Is there a way to execute the listDatabases command for MongoDB from PDI "MongoDB input"?

Question asked by Ramon Ankersmit on Apr 27, 2019

I would like to iterate over all databases that are present in MongoDB and all collections in those databases. Is it possible to get a list of databases? I was trying the "MongoDB input" with dummy db and dummy collection and query string { listDatabases: 1 } but no result... anyone has an idea how to do this?

Outcomes