Skip to content

Commit

Permalink
Fix docs typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dankochetov committed Feb 6, 2023
1 parent c8c74ed commit 8a420a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/joins.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ But what happens if you group columns from multiple tables in the same nested ob

## Aggregating results

OK, so you have obtained all the cities and the users for every city. But what you **really** wanted is a **list** of users for every city, and what you currently have is a `city-user?` combinations. So, how do you transform it?
OK, so you have obtained all the cities and the users for every city. But what you **really** wanted is a **list** of users for every city, and what you currently have is an array of `city-user?` combinations. So, how do you transform it?
That's the neat part - you can do that however you'd like! No hand-holding here.

For example, one of the ways to do that would be `Array.reduce()`:
Expand Down

0 comments on commit 8a420a1

Please sign in to comment.