Pike v8.0 release 1738

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()