mongodb-erlang
mongodb-erlang copied to clipboard
ensure_index uses the wrong DB
Hi,
Just verified that ensure_index always uses the DB from the connection instead of choosing between the DB supplied as param#4 is specified. I am just doing a pull request right now.
Thanks