Method Sql.mysql()->streaming_query()


Method streaming_query

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