Skip to content

Commit 5c33d7f

Browse files
committed
chore: update the documentation
1 parent f7e40d2 commit 5c33d7f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,11 @@ For more information check out the `Mongo.Repo` module documentation and the `Mo
372372

373373
## Breaking changes
374374

375-
Prior to version 0.9.2 some Repo functions use the `dump/1` function for the query (and update) parameter. This worked only
376-
for some query that used only the attributes of the document. In the case of nested documents, it didn't work, so
377-
it is changed to be more consistent. The Repo module is very simple without any query rewriting like Ecto does. In the case
378-
you want to use the `:name` option, you need to specify the query and updates in the Repo following
379-
the specification in the MongoDB. Example:
375+
Prior to version 0.9.2 some `Mongo.Repo` functions use the `dump/1` function for the query (and update) parameter.
376+
This worked only for some query that used only the attributes of the document. In the case of nested documents,
377+
it didn't work, so it is changed to be more consistent. The `Mongo.Repo` module is very simple without any query
378+
rewriting like Ecto does. In the case you want to use the `:name` option, you need to specify the query and update
379+
documents in the `Mongo.Repo` functions following the specification in the MongoDB. Example:
380380

381381
defmodule MyApp.Session do
382382
@moduledoc false
@@ -389,7 +389,7 @@ the specification in the MongoDB. Example:
389389
end
390390
end
391391

392-
If you use the Repo module and want to fetch a specific session document, this won't work:
392+
If you use the `Mongo.Repo` module and want to fetch a specific session document, this won't work:
393393

394394
MyApp.Repo.get_by(MyApp.Session, %{uuid: session_uuid})
395395

0 commit comments

Comments
 (0)