Comment Comment by campbellmorgan https://www.prisma.io/docs/orm/prisma-client/using-raw-sql/r... - it assumes that these queries return arrays and there's a template you can pass in like this:prisma.$queryraw<YourType>`SELECT * FROM ...` parent campbellmorgan 1 year ago
prisma.$queryraw<YourType>`SELECT * FROM ...`