``` GalaxyInfo.prisma.$executeRaw` CR...
# prisma-client
w
Copy code
GalaxyInfo.prisma.$executeRaw`
        CREATE TEMPORARY VIEW "Kill_temp" AS
        SELECT *
        FROM "Kill_clean"
        WHERE
          killer_id IN (${Prisma.join(players)})
      `,
Copy code
Your raw query had an incorrect number of parameters. Expected: `0`, actual: `1`.
Anyone know why I'm getting this? trying to create a temp view with a dynamic where for the rest of my transaction to use
r
Could you try using
executeRawUnsafe
and check?
w
I ended up using unsafe methods and sanitizing inputs with a different dependency