Philipp Rajah Moura Srivastava
12/29/2020, 12:48 AMawait prisma.events(invitedQuery).$fragment(fragment);
which I discovered a while back. However I would like to get a list of users that are followers of a given user as well as all the other saclar types that make up a user. I could see myself doing it with the pattern above but it doesn’t seem like it’s the best way to do it. I would like to know if there’s a way to have the user returned from the prisma client with a field that is a list of users. I am using prisma-client-lib v1.34.10. This seems like a very basic operation but I haven’t found anything in the docs. I did find something to do with the info parameter and prisma-bindings but I don’t think that’s relevant here.
Any help would be appreciated, much thanks.