Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Sql
Sql.mysql

Method Sql.mysql()->streaming_query()


Method streaming_query

Mysql.mysql_result streaming_query(string query, mapping(string|int:mixed)|void bindings, void|string charset)

Description

Makes a streaming SQL query.

This function sends the SQL query query to the Mysql-server. The result of the query is streamed through the returned Mysql.mysql_result object. Note that the involved database tables are locked until all the results has been read.

In all other respects, it behaves like big_query .

See also

big_query() , streaming_typed_query()