Pike v8.1 release 6

Method Sql.pgsql_util.sql_result()->set_result_array_callback()


Method set_result_array_callback

final void set_result_array_callback(function(sql_result, array(array(mixed)), mixed ... :void) callback, mixed ... args)

Description

Sets up a callback for sets of rows returned from the database. First argument passed is the resultobject itself, second argument is the array of result rows (zero on EOF).

See also

fetch_row()