ibase_affected_rows

(PHP 5, PHP 7)

ibase_affected_rowsReturn the number of rows that were affected by the previous query

说明

ibase_affected_rows ([ resource $link_identifier ] ) : int

This function returns the number of rows that were affected by the previous query (INSERT, UPDATE or DELETE) that was executed from within the specified transaction context.

参数

link_identifier

A transaction context. If link_identifier is a connection resource, its default transaction is used.

返回值

Returns the number of rows as an integer.

参见

相关文章
php cubrid mysql 兼容性函数 return the number of rows affected by the last sql statementphp frontbase 函数 get number of affected rows in previous frontbase operationphp frontbase 函数 get the number of rows affected by the last statementphp firebird/interbase 函数 return the number of rows that were affected by the previous queryphp firebird/interbase 函数 return an error codephp firebird/interbase 函数 return error messagesphp firebird/interbase 函数 execute a previously prepared queryphp firebird/interbase 函数 fetch a result row from a query as an associative arrayphp firebird/interbase 函数 return the number of parameters in a prepared queryphp firebird/interbase 函数 return information about a parameter in a prepared queryphp firebird/interbase 函数 prepare a query for later binding of parameter placeholders and executionphp firebird/interbase 函数 execute a query on an interbase databasephp informix 函数 get number of rows affected by a queryphp ingres 函数 get the number of rows affected or returned by a queryphp maxdb 函数 gets the number of affected rows in a previous maxdb operationphp msql 函数 returns number of affected rowsphp sqlite 函数 returns the number of rows that were changed by the most recent sql statementphp sqlsrv 函数 returns the number of rows modified by the last insert update or delete query executedphp sybase 函数 gets number of affected rows in last queryphp mysqli gets the number of affected rows in a previous mysql operation
关注编程学问公众号