PHP Velho Oeste 2024

ingres_cursor

(PECL ingres >= 1.1.0)

ingres_cursor指定した結果リソースのカーソル名を取得する

説明

ingres_cursor ( resource $result ) : string

アクティブなカーソルの名前を文字列で返します。 アクティブなカーソルがない場合は NULL を返します。

パラメータ

result

クエリ結果 ID。

返り値

アクティブなカーソルの名前を含む文字列を返します。 アクティブなカーソルがない場合は NULL が返されます。

例1 クエリリソースのカーソル名の取得

<?php
$link 
ingres_connect($database$user$password);

$result ingres_prepare($link"select * from table");

$cursor_name ingres_cursor($result);

echo 
$cursor_name;

?>

参考

add a note add a note

User Contributed Notes

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