sqlite_key

(no version information, might be only in CVS)

sqlite_key

(no version information, might be only in CVS)

SQLiteResult->key -- Returns the current row index

説明

int sqlite_key ( resource result )

Object oriented style (method):

class SQLiteResult {

int key ( void )

}

sqlite_key() returns the current row index of the buffered result set result.

パラメータ

result

The SQLite result resource. This parameter is not required when using the object-oriented method.

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

戻り値

Returns the current row index of the buffered result set result.

変更履歴

バージョン説明
5.0.4 Prior to PHP 5.0.4, sqlite_key() was only able to be called as a method on a SQLiteResult object, not procedurally.

以下も参照ください

sqlite_next()
sqlite_current()
sqlite_rewind()