Prisma 1 user here :disappointed: How Prisma 1 dea...
# orm-help
j
Prisma 1 user here 😞 How Prisma 1 deals with pagination using MySQL? Where can I see the generated query?
d
Let me see if there is a way to do this from Prisma 1's side but you can always log queries from the MySQL side https://dba.stackexchange.com/a/62476/101723
j
Well, i did try this before and Prisma doesn’t log queries to mysql.
d
This should work, when MySQL executes a query it logs it, Prisma can't tell it to not log queries. It is a MySQL feature
j
I don’t remember exactly where I read this, but I tested myself and when I execute a normal query it does log, otherwise Prisma queries never logs
d
Interesting, if you can make a small reproduction setup that I can try, I am happy to look into this