Skip to content

Commit

Permalink
Fix docs typo (#4337)
Browse files Browse the repository at this point in the history
  • Loading branch information
nTraum authored Dec 14, 2023
1 parent 8bfe0b6 commit 7aa839b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ecto/schema.ex
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ defmodule Ecto.Schema do
It is used when the association is preloaded.
For example, if you set `Post.has_many :comments, preload_order: [asc: :content]`,
whenever the `:comments` associations is preloaded,
the comments will be order by the `:content` field.
the comments will be ordered by the `:content` field.
See `Ecto.Query.order_by/3` for more examples.
## Examples
Expand Down

0 comments on commit 7aa839b

Please sign in to comment.