mongodb-erlang icon indicating copy to clipboard operation
mongodb-erlang copied to clipboard

Support Mongo connection using URI

Open grizzly-monkey opened this issue 7 years ago • 3 comments

It will be great to have a URI based connection option.

grizzly-monkey avatar Aug 20 '18 11:08 grizzly-monkey

@comtihon any idea when will this be looked upon ?

grizzly-monkey avatar Dec 30 '18 13:12 grizzly-monkey

Hi, can you please give me an example, how you expect this feature to look like?

Regards, Val

comtihon avatar Dec 30 '18 14:12 comtihon

mongo_api:connect(<<"mongodb+srv://username:password@host">>). should connect to mongo cluster

https://docs.mongodb.com/manual/reference/connection-string/

grizzly-monkey avatar Dec 30 '18 15:12 grizzly-monkey