Join Slack
Powered by
Hi :wave: . Does anyone know where I can find the ...
# prisma-client
m
Michael
05/10/2022, 5:36 AM
Hi 👋 . Does anyone know where I can find the type information for prisma.$queryRaw? Having trouble annotating the response of raw queries.
Michael
05/10/2022, 5:45 AM
Ahh, I see it now. The docs have the return type buried at the bottom.
n
Nurul
05/10/2022, 7:32 AM
Hey Michael 👋 It seems you are looking for this:
https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#typing-queryraw-results
f
Frederik
05/10/2022, 10:10 AM
@Michael
we are also shipping a preview version of queryRaw later today with improved type handling, maybe worth to check the release notes once we post in
#announcements
🙏
m
Michael
05/10/2022, 4:32 PM
Thank you!
Open in Slack
Previous
Next