Difference between #1 and #4 of
What SQL-Statement creates yii?

Changes

Title unchanged

What SQL-Statement creates yii?

Category unchanged

Tips

Yii version unchanged

1.1

Tags changed

Logging,XDebug,sql

Content changed

[...]
These all is not necessary if you use XDebug and place a breakpoint after the function "getCommandBuilder" in the CActiveRecord.php and take a closer look at the return value in $command.

This database access is created in yii:

<img src="https://ncpup.files.wordpress.com/2018/07/yii-sql1
1.png?w=474" /> This code is called by the yii framework <img src="https://ncpup.files.wordpress.com/2018/07/yii-sql21.png?w=474" /> getCommandBuilder returns this data structure with the generated SQL statement: <img src="https://ncpup.files.wordpress.com/2018/07/yii-sql32.png?w=474" />
 
 
 
**Path to CActiveRecord.php**
 
 
C:\xampp\htdocs\your_project\yii\framework\db\ar\CActiveRecord.php
 
0 0
1 follower
Viewed: 12 885 times
Version: 1.1
Category: Tips
Written by: Necip
Last updated by: Necip
Created on: Jul 26, 2018
Last updated: 6 years ago
Update Article

Revisions

View all history