I am getting this error after I upgraded from v5.7.1 to v5.10.1. No other changes have been made.
When enabling query logging I can see that the query causing this error is
SELECT ``.`User`.`id`, ``.`User`.`onboarded` FROM ``.`User` WHERE ``.`User`.`id` = ? LIMIT ? OFFSET ?
When I try to run this query in the PlanetScale Console, it throws the exact same error of syntax error at position 9 which leads me to believe that these backticks (i think the second backtick is at position 9) are somehow causing the error. Some googling does not reveal an answer.
I am not using $queryRaw or $executeRaw anywhere in my source.
Any easy solution that I'm missing, or is this a bug in Prisma itself