Have a very similar question ^: I can't find docs ...
# prisma-client
s
Have a very similar question ^: I can't find docs on how to query for a record and include other records referenced via foreign keys. I'm just getting back the non-foreign key fields. I would hate to use fragments for this...hopefully that's not the only way.
s
Fragments or your solution underneath are unfortunately the only way to do it with Prisma 1. However with Photon.js (part of #prisma2-preview) makes this a lot better! 🚀
s
Alright. Thanks for the response @schickling!