I've just set my local application to log Prisma's queries (log: ['query']
), but I need to see what values it is using while I debug my application, which is currently not happening, my queries are being printed like this:
FROM "public"."potato" WHERE "public"."potato"."id" IN ($1) OFFSET $2
I have two questions:
- How do I print the values that are replaced by those placeholders?
- What is those placeholders being used for and what are they?
Note: Not that it matters or makes a difference, but I'm using postgres.