Forum und email

sqlite_key

SQLiteResult->key

(No version information available, might be only in CVS)

SQLiteResult->key — Returns the current row index

說明

int sqlite_key ( resource $result )

Object oriented style (method):

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.

Note: 本函式不能用於未緩衝的結果句柄(result handle)。

Return值

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.