DB_common (Previous) (Next) DB_common::autoCommit()

View this page in Last updated: Sun, 06 Jul 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

DB_common::affectedRows()

DB_common::affectedRows() -- データ更新クエリによって変更された行の数を調べる

説明

データを操作するクエリ (例えば INSERTUPDATE あるいは DELETE など) によって変更されて行の数を調べます。 SELECT クエリの場合は 0 を返します。

返り値

integer - 行数、あるいは失敗した場合は DB_Error オブジェクトを返します。

注意

この関数は、スタティックにコールする ことはできません。

DB_common (Previous) (Next) DB_common::autoCommit()

Download Documentation Last updated: Sun, 06 Jul 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.