rem
01/21/2019, 4:57 PM{ create: { ... }
or { connect: { ... } }
and I can see the records in my postgres database (in the tables starting with _), but when I query across data relations, it never comes back - nothing more complicated than this example: https://www.prisma.io/docs/prisma-graphql-api/reference/queries-qwe1/#querying-data-across-relationsmarcus
01/21/2019, 5:04 PMrem
01/21/2019, 5:05 PMrem
01/21/2019, 5:08 PMrem
01/21/2019, 5:09 PMuser
and accountSubscription
and _AccountSubscriptionToUser
rem
01/21/2019, 5:10 PMaccountSubscription
, it just gives me that error (that it's null) - like prisma hasn't resolved the nested data.rem
01/21/2019, 5:21 PMselect A.state from backend$dev."User" as U, backend$dev."_AccountSubscriptionToUser" as AU, backend$dev."AccountSubscription" as A where AU."B"=U.id and U.id='cjr6jbaro00060718tpo1gp86' and AU."A"=A.id;
rem
01/21/2019, 5:22 PMrem
01/21/2019, 5:47 PMquery { user }
request: module.exports = (parent, { id }, ctx) => ctx.prisma.user({ id });
Harshit
01/22/2019, 8:59 AMrem
01/22/2019, 11:21 AMaccountSubscription
then it Prisma doesn't do it for me.Harshit
01/22/2019, 11:22 AMrem
01/22/2019, 12:03 PM