PHP 8.3.4 Released!

ibase_affected_rows

(PHP 5, PHP 7 < 7.4.0)

ibase_affected_rows直近のクエリで変更された行の数を返す

説明

ibase_affected_rows(resource $link_identifier = ?): int

この関数は、link_identifier で指定された トランザクション内で実行された直近のクエリ(INSERT、UPDATE あるいは DELETE)によって変更された行の数を返します。

パラメータ

link_identifier

トランザクションのコンテキスト。 link_identifier が接続リソースの場合、 そのデフォルトのトランザクションが使用されます。

戻り値

変更された行数を整数値で返します。

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top