From 8a420a137f8da1f07482b0951e72cf49e701bf92 Mon Sep 17 00:00:00 2001 From: Dan Kochetov Date: Mon, 6 Feb 2023 14:09:07 +0200 Subject: [PATCH] Fix docs typo --- docs/joins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/joins.md b/docs/joins.md index 15c3f4d9a..13663efcf 100644 --- a/docs/joins.md +++ b/docs/joins.md @@ -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()`: