Ashe Magalhaes
09/14/2022, 11:30 PMprisma.$queryRaw
Something like this, which works fine on my planetscale console:
const query = `select ROW_NUMBER() over() FROM contacts`;
Results in the error:
Code: `1105`. Message: `unknown error: syntax error at position 26`
Anyone know why prisma can't seem to handle ROW_NUMBER() function?Raphael Etim
09/15/2022, 6:21 AMqueryRaw?Ashe Magalhaes
09/15/2022, 9:47 PMselect ROW_NUMBER() over() FROM contactsAshe Magalhaes
09/21/2022, 9:42 PMRaphael Etim
09/22/2022, 6:16 AMRaphael Etim
09/23/2022, 11:10 AMRaphael Etim
09/23/2022, 11:11 AMRaphael Etim
09/23/2022, 11:12 AMAshe Magalhaes
09/24/2022, 4:17 PMdatasource db {
provider = "mysql"
url = env("DATABASE_URL")
referentialIntegrity = "prisma"
}Nurul
09/26/2022, 3:25 PMNurul
09/26/2022, 3:26 PM