We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A while back I submitted a question on the elixirllang-talk google group asking about the way I implemented this driver in Elixir.
https://groups.google.com/forum/#!topic/elixir-lang-talk/QKNM_NsIRGE
I'm about to implement what was recommended by José Valim, this is, write
coll = Mongo.connect! |> Mongo.db("test") |> Mongo.Db.collection("anycoll")
rather than
coll = Mongo.connect!.db("test").collection("anycoll")
This notation is a bit more verbose, less mongo but more Elixir
I believe it would also simplify the code
The text was updated successfully, but these errors were encountered:
done in v0.5.0
Sorry, something went wrong.
No branches or pull requests
A while back I submitted a question on the elixirllang-talk google group asking about the way I implemented this driver in Elixir.
https://groups.google.com/forum/#!topic/elixir-lang-talk/QKNM_NsIRGE
I'm about to implement what was recommended by José Valim, this is, write
rather than
This notation is a bit more verbose, less mongo but more Elixir
I believe it would also simplify the code
The text was updated successfully, but these errors were encountered: