Announcement

Collapse
No announcement yet.

how to log sql query all that have executed in app

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • flanklin
    replied
    Originally posted by alter View Post
    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
    Thank Alter for your answer.

    I am trying to achieve "All ORM Calls"

    Leave a comment:


  • alter
    replied
    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

    Leave a comment:


  • how to log sql query all that have executed in app

    I want to see all queries that have executed in application
Working...
X