Skip to content

Commit

Permalink
Clarify example (#3830)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanl authored Feb 2, 2022
1 parent c149d96 commit 47ddbc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ecto/query.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1497,6 1497,7 @@ defmodule Ecto.Query do
)
},
order_by: [
# based on `AS total_population` in the previous fragment
{:desc, fragment("total_population")}
]
)
Expand Down

0 comments on commit 47ddbc6

Please sign in to comment.