Method __builtin.Sql.Result()->set_result_callback()


Method set_result_callback

void set_result_callback(function(this_program, array(mixed), __unknown__ ... :void) callback, mixed ... args)

Description

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

See also

fetch_row(), set_result_array_callback()