db2_cursor_type

(no version information, might be only in CVS)

db2_cursor_type --  Returns the cursor type used by a statement resource

説明

int db2_cursor_type ( resource stmt )

警告

この関数は、 実験的なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用してください。

Returns the cursor type used by a statement resource. Use this to determine if you are working with a forward-only cursor or scrollable cursor.

パラメータ

stmt

A valid statement resource.

戻り値

Returns either DB2_FORWARD_ONLY if the statement resource uses a forward-only cursor or DB2_SCROLLABLE if the statement resource uses a scrollable cursor.

以下も参照ください

db2_prepare()