sqlite_key
SQLiteResult::key
(PHP 5 >= 5.1.0 < 5.4.0)
sqlite_key -- SQLiteResult::key — Returns the current row index
说明
面向对象风格 (method):
SQLiteResult::key (
void ) :
int
SQLiteResult::key() returns the current row index of the buffered result set result
.
Unlike all other SQLite functions, this function does not have a procedural version, and can only be called as a method on a SQLiteResult object.
返回值
Returns the current row index of the buffered result set result
.
参见
- sqlite_next() - Seek to the next row number
- sqlite_current() - Fetches the current row from a result set as an array
- sqlite_rewind() - Seek to the first row number