sqlite_key

SQLiteResult::key

(PHP 5 >= 5.1.0 < 5.4.0)

sqlite_key -- SQLiteResult::keyReturns 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.

参见

相关文章
php apd 函数 returns the current call stack as an arrayphp ibm db2 函数 returns an object with properties representing columns in the fetched rowphp informix 函数 returns the current file or seek positionphp maxdb 函数 returns the lengths of the columns of the current row in the result setphp maxdb 函数 returns the current row of a result set as an objectphp mssql 函数 returns an associative array of the current row in the resultphp mysqlnd qc 函数 returns information on the current handler the number of cache entries and cache entries if availablephp ncurses 函数 returns current erase characterphp rpm reader 函数 returns a string representing the current version of the rpmreader extensionphp sqlite 函数 returns the number of rows that were changed by the most recent sql statementphp sqlite 函数 fetches a column from the current row of a result setphp sqlite 函数 fetches the current row from a result set as an arrayphp sqlite 函数 returns the name of a particular fieldphp sqlite 函数 returns whether or not a previous row is availablephp sqlite 函数 returns the current row indexphp sqlite 函数 returns the rowid of the most recently inserted rowphp sqlite 函数 seek to a particular row number of a buffered result setphp sqlite 函数 executes a query and returns either an array for one single column or the value of the first rowphp imagickpixeliterator returns the current row of imagickpixel objectsphp mongocursor returns the current result s id or its index within the result set
关注编程学问公众号