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 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 函数 free memory allocated by a prepared queryphp firebird/interbase 函数 get the number of fields in a result setphp firebird/interbase 函数 return the number of parameters in a prepared queryphp firebird/interbase 函数 return information about a parameter in a prepared queryphp 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 maxdb 函数 return the number of rows in statements result setphp 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 mysqlnduhconnection gets the number of affected rows in a previous mysql operationphp sqlite3 returns the number of database rows that were changed or inserted or deleted by the most recent sql statement
关注编程学问公众号