Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed docs

  • Loading branch information...
commit e3f5de64e6626a842385e98937b6bc1a64984f40 1 parent a714f1e
Ragazzo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 framework/db/CDbCommand.php
View
4 framework/db/CDbCommand.php
@@ -1313,7 +1313,7 @@ public function delete($table, $conditions='', $params=array())
* @param string $table the name of the table to be created. The name will be properly quoted by the method.
* @param array $columns the columns (name=>definition) in the new table.
* @param string $options additional SQL fragment that will be appended to the generated SQL.
- * @return integer number of rows affected by the execution.
+ * @return integer 0 is always returned (see PDO docs for more information http://php.net/manual/en/pdostatement.rowcount.php).
* @since 1.1.6
*/
public function createTable($table, $columns, $options=null)
@@ -1336,7 +1336,7 @@ public function renameTable($table, $newName)
/**
* Builds and executes a SQL statement for dropping a DB table.
* @param string $table the table to be dropped. The name will be properly quoted by the method.
- * @return integer number of rows affected by the execution.
+ * @return integer 0 is always returned (see PDO docs for more information http://php.net/manual/en/pdostatement.rowcount.php).
* @since 1.1.6
*/
public function dropTable($table)
Please sign in to comment.
Something went wrong with that request. Please try again.