Hi friends i am trying to query a `view` using pri...
# orm-help
k
Hi friends i am trying to query a
view
using prisma with
queryraw
. I want to select multiple rows using the sql "IN" however i get the error:
Copy code
Raw query failed. Code: `N/A`. Message: `Arrays are not supported in MySQL.`
Copy code
const entityIds = ["9704cad8-c69e-4e85-9f12-e9ea6055d140"];

const socials = await prisma.$queryRawUnsafe("SELECT * FROM view_quick_reach WHERE brand_id IN (?)", entityIds);