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


Method set_result_callback

final void set_result_callback(function(Result, array(mixed), mixed ... :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()