Yii Framework Forum: yii 1.x Show raw SQL query - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

yii 1.x Show raw SQL query Rate Topic: -----

#1 User is offline   yiiLearner2017 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 25-April 17

Posted 25 April 2017 - 01:37 AM

Hi
I am new in yii and I have given a task in yii 1.x.
I have no idea about yii framework .
I need to debug some SQL so for that I need to print out Show raw SQL queries.

Please let me know in yii 1.x how we can Show raw SQL query.

Any great blogs in yii or any helpful resouces would be appriciated.
0

#2 User is offline   tri 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,834
  • Joined: 20-November 08
  • Location:Stockholm, Sweden

Posted 25 April 2017 - 03:28 AM

/* moved from Yii 2.0 section to Yii 1.x section */

Paste this into Google
site:yiiframework.com show raw sql
Don't forget to read The Definitive Guide to Yii (1.1/2.0 en) | The class reference (1.1/2.0) has the details
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users