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 ibm db2 函数 returns an array indexed by column name representing a row in a result setphp ibm db2 函数 returns an array indexed by both column name and position representing a row in a result setphp ibm db2 函数 returns an object with properties representing columns in the fetched rowphp 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 maxdb 函数 returns the thread id for the current connectionphp 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 soft label key attributephp sqlite 函数 execute a query against a given database and returns an arrayphp 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 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 函数 executes a query against a given database and returns a result handlephp sqlite 函数 seek to the first row numberphp sqlite 函数 executes a query and returns either an array for one single column or the value of the first rowphp sqlsrv 函数 returns a row as an arrayphp mysqli result returns the lengths of the columns of the current row in the result set
关注编程学问公众号