We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77a9d28 commit 2bbdbc8Copy full SHA for 2bbdbc8
1 file changed
README.md
@@ -16,16 +16,15 @@ or check out examples below.
16
```elixir
17
# In your config/config.exs file
18
config :my_app, Repo,
19
+ adapter: Mongo.Ecto
20
database: "ecto_simple",
21
username: "mongodb",
22
password: "mongosb",
23
hostname: "localhost"
24
25
# In your application code
26
defmodule Repo do
- use Ecto.Repo,
27
- otp_app: :my_app,
28
- adapter: Mongo.Ecto
+ use Ecto.Repo, otp_app: :my_app
29
end
30
31
defmodule Weather do
0 commit comments