CDbCommand

CDbCommand

Package system.db
Inheritance class CDbCommand » CComponent
Since 1.0
Source Code framework/db/CDbCommand.php
CDbCommand represents an SQL statement to execute against a database.

It is usually created by calling CDbConnection::createCommand. The SQL statement to be executed may be set via Text.

To execute a non-query SQL (