Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/ecto/query.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Ecto.SubQuery do
A struct representing subqueries.

Users of Ecto must consider this struct as opaque
and not access its field. Authors of adapters may
and not access its fields. Authors of adapters may
read its contents, but never modify them.

See `Ecto.Query.subquery/2` for more information.
Expand Down Expand Up @@ -1981,7 +1981,7 @@ defmodule Ecto.Query do
works with the macro-based query syntax and not the keyword-based
query syntax.

For example, the following will generate a query that orders by `human_popluation`
For example, the following will generate a query that orders by `human_population`
and then `name`:

City |> order_by([c], c.name) |> prepend_order_by([c], c.human_population)
Expand Down
Loading