This commit is contained in:
Ondřej 2024-02-29 12:55:39 +01:00
parent fa70e47a9b
commit d5cf8d5a26

View file

@ -17,7 +17,7 @@ const submissionsByLanguage = await db
const [uniqueSenders] = await db
.selectFrom("letters")
.select(({ fn }) => [fn.count("id").distinct().as("count")])
.select(({ fn }) => [fn.count("email").distinct().as("count")])
.execute();
---