I want to see all queries that have executed in application
Announcement
Collapse
No announcement yet.
how to log sql query all that have executed in app
Collapse
X
-
Hi, I would like to start with a response that usually that no raw SQL queries are being executed within the app, because ORM should be used to query the DB data -> hence no SQL query is directly used within the app, because ORM handles translation of PHP code to querying the DB data. So my question is, what are you trying to achieve?
1) Log all raw SQL queries that are used in backend code
2) Log all ORM calls that are used in backend code
-
Originally posted by alter View PostHi, I would like to start with a response that usually that no raw SQL queries are being executed within the app, because ORM should be used to query the DB data -> hence no SQL query is directly used within the app, because ORM handles translation of PHP code to querying the DB data. So my question is, what are you trying to achieve?
1) Log all raw SQL queries that are used in backend code
2) Log all ORM calls that are used in backend code
I am trying to achieve "All ORM Calls"
Comment
Comment