Closed vipulg13 closed 3 years ago
Did you try running the raw command using con$run()
? Maybe something like:
con <- mongo(db = "admin")
con$run("{listDatabases:1}")
hello @jeroen, thanks for your reply. It worked! I somehow missed the "run" method in the documentation to run any raw command.
conn$run('{"listCollections":1}')
Dear Team,
first of all, thanks for this package!
I have a requirement in my project where I need to get the list of available databases and collections. Could you please incorporate listDatabases and listCollections methods into this package?