File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -372,11 +372,11 @@ For more information check out the `Mongo.Repo` module documentation and the `Mo
372
372
373
373
## Breaking changes
374
374
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:
380
380
381
381
defmodule MyApp.Session do
382
382
@moduledoc false
@@ -389,7 +389,7 @@ the specification in the MongoDB. Example:
389
389
end
390
390
end
391
391
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:
393
393
394
394
MyApp.Repo.get_by(MyApp.Session, %{uuid: session_uuid})
395
395
You can’t perform that action at this time.
0 commit comments