downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

sqlite_last_error> <sqlite_has_prev
[edit] Last updated: Fri, 10 Feb 2012

view this page in

sqlite_key

SQLiteResult::key

(PHP 5 >= 5.1.0)

sqlite_key -- SQLiteResult::keyカレントレコードのインデックスを返す

説明

int sqlite_key ( resource $result )

オブジェクト指向型 (メソッド):

int SQLiteResult::key ( void )

sqlite_key() は、バッファされた結果セット result のカレントレコードのインデックスを返します。

パラメータ

result

SQLite 結果リソース。 このパラメータは、 オブジェクト指向言語型メソッドを使用する場合は不要です。

注意:

この関数は、 バッファなしの結果ハンドルで使用することはできません。

返り値

バッファされた結果セット result のカレントレコードのインデックスを返します。

変更履歴

バージョン 説明
5.0.4 PHP 5.0.4 以降、sqlite_key()SQLiteResult オブジェクトのメソッドとしてコールする場合のみ利用可能です。 手続き型としてはコールできません。

参考



add a note add a note User Contributed Notes sqlite_key
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites