Manuál PHP | ||
---|---|---|
Předcházející | Další |
(no version information, might be only in CVS)
PDOStatement::rowCount -- Returns the number of rows affected by the last SQL statementVarování |
Tato funkce je EXPERIMENTÁLNÍ. Chování této funkce, její název a všechno ostatní, co je zde zdokumentováno, se v budoucích verzích PHP může BEZ OHLÁŠENÍ změnit. Berte to v úvahu a používejte tuto funkci na vlastní nebezpečí. |
PDOStatement::rowCount() returns the number of rows affected by the last DELETE, INSERT, or UPDATE statement executed by the corresponding PDOStatement object.
If the last SQL statement executed by the associated PDOStatement was a SELECT statement, some databases may return the number of rows returned by that statement. However, this behaviour is not guaranteed for all databases and should not be relied on for portable applications.
Předcházející | Domů | Další |
PDOStatement::getColumnMeta | Nahoru | PDOStatement::setAttribute |