This error occurred when I try to open a table in the Prisma Studio, the table I tried to open had a many-to-many field to another table (table B), table B has more than 100k rows at the time.
The database is hosted on PlanetScale, with the default setting it cannot query more than 100k rows.
I don't know details about how Prisma Studio works, but it seems possible to count those many-to-many fields without selecting the id of the field. (just a thought)
I tried to un-select those many-to-many fields from the "fields option" on the data browser, but nothing changed.
How to reproduce
Start Prisma Studio.
Opens a table in the data browser.
The error modal shows up.
Expected behavior
No response
Prisma information
I'm working on a closed-source project and preferred not to share the schema publicly. If the schema can help with this issue, please DM me, and I can share it privately.
Environment & setup
Link to Data Browser instance:
OS: macOS
Browser: Chrome
Database: MySQL hosted on PlanetScale
Screenshot of page where the problem happened (if applicable)
Bug description
This error occurred when I try to open a table in the Prisma Studio, the table I tried to open had a many-to-many field to another table (table B), table B has more than 100k rows at the time.
The database is hosted on PlanetScale, with the default setting it cannot query more than 100k rows.
This is the error message shown on the modal:
Query shown with the error message:
I don't know details about how Prisma Studio works, but it seems possible to count those many-to-many fields without selecting the id of the field. (just a thought)
I tried to un-select those many-to-many fields from the "fields option" on the data browser, but nothing changed.
How to reproduce
Expected behavior
No response
Prisma information
I'm working on a closed-source project and preferred not to share the schema publicly. If the schema can help with this issue, please DM me, and I can share it privately.
Environment & setup
Screenshot of page where the problem happened (if applicable)
No response
Prisma logs
No response