ingres_num_fields
(PHP 4 >= 4.0.2, PHP 5 < 5.1.0, PECL ingres >= 1.0.0)
ingres_num_fields — 直近のクエリにより返されたフィールドの数を得る
説明
ingres_num_fields
( resource $result
) : int
ingres_num_fields() は、 ingres_query() をコールした後で、Ingres サーバーにより返された結果のフィールド数を返します。
パラメータ
result
- クエリ結果 ID。
返り値
フィールドの数を返します。
参考
- ingres_query() - Ingres に SQL クエリを送信する
- ingres_fetch_array() - 1 行分の結果を配列に取得する
- ingres_fetch_assoc() - 1 行分の結果を連想配列に取得する
- ingres_fetch_object() - 1 行分の結果をオブジェクトとして取得する
- ingres_fetch_row() - 1 行分の結果を数値添字配列として取得する