(PHP 5)
sqlite_array_query
(no version information, might be only in CVS)
SQLiteDatabase->arrayQuery -- Execute a query against a given database and returns an array
Description
array
sqlite_array_query ( resource dbhandle, string query [, int result_type [, bool decode_binary]] )
array
sqlite_array_query ( string query, resource dbhandle [, int result_type [, bool decode_binary]] )
Object oriented style (method):
class
SQLiteDatabase {
array
arrayQuery ( string query [, int result_type [, bool decode_binary]] )
}
sqlite_array_query() executes the given query and returns
an array of the entire result set. It is similar to calling
sqlite_query() and then sqlite_fetch_array()
for each row in the result set. sqlite_array_query() is
significantly faster than the aforementioned.
Tip:
sqlite_array_query() is best suited to queries
returning 45 rows or less. If you have more data than that, it is
recommended that you write your scripts to use
sqlite_unbuffered_query() instead for more optimal
performance.
Return Values
Returns an array of the entire result set; FALSE otherwise.
The column names returned by
SQLITE_ASSOC and SQLITE_BOTH will be
case-folded according to the value of the
sqlite.assoc_case configuration
option.