we can write with Prisma complicated sql queries a...
# orm-help
t
we can write with Prisma complicated sql queries also? with joins etc?
โœ… 1
n
Yes, thereโ€™s a
$queryRaw
command that you can use to write custom SQL when needed ๐Ÿ™‚
t
i seen this, but we can do for example joins in prisma without $queryRaw?
i dont like sql, so i was hoping to replace it in big percentage
n
i seen this, but we can do for example joins in prisma without $queryRaw?
Prisma offers an abstraction over JOINs via its
include
option, so Iโ€™d say yes ๐Ÿ™‚
t
thank you ๐Ÿ™‚ i will read those, i was just curious
๐Ÿ‘ 1
๐Ÿ™Œ 1