I have a project that is using postgreSQL and Prisma. I was console.logging something in getServerSideProps(), but I noticed that is prisma is automatically console.logging huge amounts of strings like prisma:query SELECT "public"."TaskChart"."id", "public"."TaskChart"."name", "public"."TaskChart"."dateCreated", "public"."TaskChart"."default", "public"."TaskChart"."owner" FROM "public"."TaskChart" WHERE "public"."TaskChart"."owner" = $1 OFFSET $2 /* traceparent=00-00-00-00 */
How do I get rid of this?
Question posted in PostgreSQL
The official documentation can be found here.
The official documentation can be found here.
2
Answers
Try handling your
prisma
errors with this code :Also check this reference
Try checking your prisma instance.
If it is like this:
Then, remove
log:
from options.