How to Show Current Query When Using Activerecord in Yii2
Today just a simple command. If you need to know the current query for an Activerecord object, you need this simple command: This will show current SQL query. Another solution is:
Today just a simple command. If you need to know the current query for an Activerecord object, you need this simple command: This will show current SQL query. Another solution is: