db\Command getRawSql()

getRawSql() public method

Returns the raw SQL by inserting parameter values into the corresponding placeholders in $sql.

Note that the return value of this method should mainly be used for logging purpose. It is likely that this method returns an invalid SQL due to improper replacement of parameter placeholders.

public string getRawSql ( )
return string

The raw SQL with parameter values inserted into the corresponding placeholders in $sql.

doc_Yii
2016-10-30 16:57:27
Comments
Leave a Comment

Please login to continue.