execute() public method

This method should only be used for executing non-query SQL statement, such as INSERT, DELETE, UPDATE SQLs. No result set will be returned.
public execute ( ) : integer
return integer number of rows affected by the execution.
示例#1
0
 /**
  * Extended functional: flushing request local cache.
  * @inheritdoc
  */
 public function execute()
 {
     static::$requestLocalCache->flush();
     return parent::execute();
 }