Skip to content

Commit

Permalink
Update lib/ecto/query.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Oct 7, 2024
1 parent a38584c commit e7d7648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ecto/query.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2667,7 +2667,7 @@ defmodule Ecto.Query do
where: l.inserted_at > c.updated_at,
preload: [:author, comments: {c, likes: l}]
## Choosing Between Preloading with Joins vs. Separate Queries
## Choosing between preloading with joins vs. separate queries
Deciding between preloading associations via joins, a single large
query, (`preload: [comments: c]`) or separate smaller queries
Expand Down

0 comments on commit e7d7648

Please sign in to comment.