SQLite 함수 목록
PHP Manual

sqlite_key

SQLiteResult->key

(PHP 5 >= 5.1.0)

sqlite_key -- SQLiteResult->keyReturns 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: 이 함수는 버퍼 없는 결과 핸들(unbuffered result handles)을 다룰 수 없습니다.

반환값

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 함수 목록
PHP Manual