checkiz / elixir-mongo

MongoDB driver for Elixir
MIT License
101 stars 31 forks source link

Mongo.Db.auth failure #21

Closed frpaulas closed 9 years ago

frpaulas commented 9 years ago

I may be doing something completely wrong here as I am new to Elixir; but when I do {:ok, mongo} = Mongo.connect("db-stage.member0.mongolayer.com", 27017) db = mongo |> Mongo.db(database) db |> Mongo.db.auth('user', 'password') I get undefined function: Mongo.Server.call/1 I don't see Mongo.Server.call defined in the code. What am I missing?