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 ibm db2 函数 returns the number of rows affected by an sql statementphp dbx 函数 fetches rows from a query result that had the dbx result unbuffered flag setphp 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 blob length and other useful infophp firebird/interbase 函数 return an error codephp 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 mssql 函数 returns the number of records affected by the queryphp sqlite 函数 returns the number of rows that were changed by the most recent sql statementphp 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
关注编程学问公众号