gkze
12/30/2020, 10:45 PMfindMany
is not supported, I am currently doing a nested findMany
(the schema has an m-n relationship between the models) for each object in the results. Is there a better way to achieve this?gkze
12/31/2020, 7:51 PMinclude
in the findMany
and extended the result type to be Array<PrimaryModel & { relationModels: Array<RelationModel> }>
which made the include
data available on the result type