skip to Main Content

Postgresql – Prisma is console.logging things out of my control

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…

VIEW QUESTION

How to use find method with nested documents in mongodb with nextjs?

I have my data structured like this that I get from localhost:3000/api/notes/[noteTitle]/note2 { "data": [ { "_id": "62ff418fa4adfb3a957a2847", "title": "first-note2", "note": { "_id": "62ff399da4adfb3a957a2808", "title": "first" }, }, { "_id": "631af43b054a6aef1a7c4f08", "title": "first-note22", "note": { "_id": "62ff399da4adfb3a957a2808", "title": "first" },…

VIEW QUESTION
Back To Top
Search