Is there a way to extract the sql generated by pri...
# orm-help
z
Is there a way to extract the sql generated by prisma from the docker database?
👍 1
e
wouldn’t you just run sql queries against it directly? i.e. connect with the variables in the docker compose file
z
What you mena @Edgar C.? I wanted to extract to see the structure.
h
you can connect to the postgres instance by using
docker exec -it <your container id> psql -U <username> <database name>
also remember the data stored is in different schema than public based on your service stage
z
Thank you very much