Is there any way to extract my prisma queries and ...
# orm-help
p
Is there any way to extract my prisma queries and transform them into postgres functions?
r
Not at the moment. You would need to manually fetch them from the logs and then create functions for those.
p
how can i inspect the logs? adding
Copy code
log: ['query', 'info', 'warn', 'error'],
to my prismaclient doesn't show me the insert statements that were executed
r
It will show all statements including
insert
in the console. Only
query
is needed to see the logs.
🙌 1