array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.ibase-affected-rows.php', 1 => 'ibase_affected_rows', 2 => 'Return the number of rows that were affected by the previous query', ), 'up' => array ( 0 => 'ref.ibase.php', 1 => 'Firebird/InterBase 函数', ), 'prev' => array ( 0 => 'function.ibase-add-user.php', 1 => 'ibase_add_user', ), 'next' => array ( 0 => 'function.ibase-backup.php', 1 => 'ibase_backup', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ibase/functions/ibase-affected-rows.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ibase_affected_rows

(PHP 5, PHP 7 < 7.4.0)

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.

参见