I am using prisma studio. Studio queries in the ba...
# orm-help
h
I am using prisma studio. Studio queries in the background findMany lets say on a model users. The query includes everything. Also all n:m relations. This leads to a huge amount of data. Lets imagine a relation contains > 1k connections. The simple findMany query would fetch all these 1k relations as well. If I manually unselect all n:m relations in prisma studio, they are not shown in prisma studio, but as I see it, they are still queried. For a model like users, that may have an attribute followers this query fetches so many data, that you run into a timeout.. Do I miss anything or is it not possible to remove specific attributes from include in these automated queries?
r
@Henri Kuper 👋 This is a bug. Could you pls create an issue here so that we can fix this in the next release?
h
Sure thanks @Ryan
I will create it directly in the prisma studio repo, I think it is a pure studio issue.
r
Sure that works too 🙂