|
PHP5中文手册
sqlite_unbuffered_querySQLiteDatabase->unbufferedQuery(No version information available, might be only in CVS) SQLiteDatabase->unbufferedQuery — Execute a query that does not prefetch and buffer all data 说明
resource sqlite_unbuffered_query
( resource $dbhandle
, string $query
[, int $result_type
[, string &$error_msg
]] )
resource sqlite_unbuffered_query
( string $query
, resource $dbhandle
[, int $result_type
[, string &$error_msg
]] )
Object oriented style (method): SQLiteDatabase
SQLiteUnbuffered unbufferedQuery
( string $query
[, int $result_type
[, string &$error_msg
]] )
sqlite_unbuffered_query() is identical to sqlite_query() except that the result that is returned is a sequential forward-only result set that can only be used to read each row, one after the other. This function is ideal for generating things such as HTML tables where you only need to process one row at a time and don't need to randomly access the row data.
参数
返回值Returns a result handle or FALSE on failure. sqlite_unbuffered_query() returns a sequential forward-only result set that can only be used to read each row, one after the other. 更新日志
|