heynemann/motorengine — pull request #63 by btaitelb (2014-05-28 04:22:33+00:00)
Title: Allow a uri to be passed as the first parameter to connect

I wanted a way to be able to pass a connection uri (e.g. `MONGOLAB_URI` in the environment) to the connect function. Without this, I had to parse the uri just to get the db name, and then pass the uri itself as the `host` keyword argument.