queryRaw don't show data on prisma

is there prisma developers here?

 const users = await prisma.$queryRaw`SELECT * FROM User`;

queryraw doesn't work for me, data appear on prisma studio and there is no problem but when I try to run the query above, It only shows my postgres username. When I check my data on psql, It shows the same, tables appear but there is no data inside.

enter image description here

enter image description here

thanks in advance for those who'll help ;)



Comments

Popular posts from this blog

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)