Hi,
I have a group by and I'm trying to load the relationship as well. In the
findMany
we can do
include
but how can I do it in
groupBy
?
r
Ryan
07/23/2021, 7:33 AM
@Roy Segall ๐
Unfortunately, including relations isnโt supported yet. It would be great if you could add a ๐ to this request so that we can know the priority ๐
As a workaround, you can use a raw query.
r
Roy Segall
07/23/2021, 7:54 AM
Hi @Ryan and thanks for the quick comment ๐
Though I'm familiar with SQL i suspect that writing the custom would be wrong ๐
Regrading the suggestion - do we have a way to do migration with custom code? When I'm changing a data structure I'm creating migration files which Prisma knows to execute. But, what about custom code migration such as data manipulation (deleting a content after removing a field)
Is that a requested feature as well or can I add it to the list?