Extracted from Pike v7.8 release 352 at 2010-11-02.
pike.ida.liu.se
[Top]
Sql
Sql.Sql

Method Sql.Sql()->streaming_query()


Method streaming_query

int|object streaming_query(object|string q, mixed ... extraargs)

Description

Send an SQL query to the underlying SQL-server. The result is returned as a streaming Sql.sql_result object. This allows for having results larger than the available memory, and returning some more info about the result. Returns 0 if the query didn't return any result (e.g. INSERT or similar). For the other arguments, they are the same as for the query() function.

See also

big_query